Part Number Hot Search : 
LT1639 91XR1K 5D100 ASWSS01 27C25 TC444 CSB858C CY7C4245
Product Description
Full Text Search
 

To Download 7534 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  7534 group single-chip 8-bit cmos microcomputer rej03b0099-0200z rev.2.00 jun 21, 2004 rev.2.00 jun 21, 2004 page 1 of 54 rej03b0099-0200z description the 7534 group is the 8-bit microcomputer based on the 740 family core technology. the 7534 group has a usb, 8-bit timers, and an a/d converter, and is useful for an input device for personal computer peripherals. features ? basic machine-language instructions ....................................... 69 ? the minimum instruction execution time .......................... 0.34 s (at 6 mhz oscillation frequency for the shortest instruction) ? memory size rom ............................................... 8k to 16k bytes ram .............................................. 256 to 384 bytes ? programmable i/o ports ...................................... 28 (36-pin type) ............................................................................ 24 (32-pin type) ............................................................................ 33 (42-pin type) ? interrupts .................................................... 14 sources, 8 vectors ? timers ............................................................................ 8-bit ? 3 ? serial i/o1 ................................ used only for low speed in usb (based on usbspec. rev.1.1) (usb/uart) ? serial i/o2 ...................................................................... 8-bit ? 1 (clock-synchronized) ? a/d converter ................................................ 10-bit ? 8 channels ? clock generating circuit ............................................. built-in type (connect to external ceramic resonator or quartz-crystal oscillator ) ? watchdog timer ............................................................ 16-bit ? 1 ? power source voltage at 6 mhz x in oscillation frequency at ceramic resonator ................................ 4.1 to 5.5 v(4.4 to 5.25 v at usb operation) ? power dissipation ............................................ 30 mw (standard) ? operating temperature range ................................... C20 to 85 c (0 to 70 c at usb operation) ? built-in usb 3.3 v regulator + transceiver based on usb spec. rev.1.1 application input device for personal computer peripherals pin configuration (top view) fig. 1 pin configuration of m37534m4-xxxfp, m37534e8fp package type: 36p2r-a 10 1 2 3 4 6 7 8 9 11 12 14 15 16 5 13 17 18 36 35 34 33 31 30 26 25 24 23 22 21 20 19 32 27 29 28 p0 0 cnv ss x out x in v ss p0 1 p0 2 p0 3 p0 4 p3 0 (led 0 ) vcc v ref p0 5 p1 0 /r x d/d- p2 6 /an 6 p2 7 /an 7 p1 1 /t x d/d+ p1 2 /s clk p1 3 /s data p2 3 /an 3 p2 2 /an 2 p2 1 /an 1 p2 0 /an 0 p3 1 (led 1 ) p3 7 /int 0 p2 4 /an 4 p2 5 /an 5 p0 6 p0 7 usbv refout reset m37534m4-xxxfp m37534e8fp p1 4 /cntr 0 p3 5 (led 5 ) p3 4 (led 4 ) p3 3 (led 3 ) p3 2 (led 2 )
7534 group rev.2.00 jun 21, 2004 page 2 of 54 rej03b0099-0200z pin configuration (top view) fig. 2 pin configuration of m37534m4-xxxgp outline 32p6u-a p0 7 p1 0 /r x d/d- p1 1 /t x d/d+ p1 2 /s clk p1 3 /s data p1 4 /cntr 0 p2 0 / an 0 p2 1 / an 1 32 31 30 29 28 27 26 25 p3 4 (led 4 ) p3 3 (led 3 ) p3 2 (led 2 ) p3 1 (led 1 ) p3 0 (led 0 ) v ss x out x in 9 10 11 12 13 14 15 16 2 8 7 6 5 3 1 4 v cc cnv ss reset p2 2 /an 2 p0 5 20 17 18 19 21 24 p0 2 p0 4 p0 3 p0 6 23 22 p0 1 p0 0 usbv refout m37534m4-xxxgp p2 3 /an 3 p2 4 /an 4 p2 5 /an 5 v ref
7534 group rev.2.00 jun 21, 2004 page 3 of 54 rej03b0099-0200z pin configuration (top view) fig. 3 pin configuration of m37534rss, m37534m4-xxxsp, m37534e8sp outline 42s1m, 42p4b 10 1 2 3 4 6 7 8 9 11 12 14 15 16 5 13 17 18 36 35 34 33 31 30 26 25 24 23 22 32 27 29 28 19 20 21 42 41 40 39 37 38 p0 0 cnv ss x out x in v ss p0 1 p0 2 p0 3 p0 4 p3 0 (led 0 ) vcc v ref p0 5 p1 2 /s clk p2 5 /an 5 p2 6 /an 6 p1 3 /s data p1 4 /cntr 0 p2 2 /an 2 nc p2 1 /an 1 p2 0 /an 0 p3 1 (led 1 ) p2 3 /an 3 p2 4 /an 4 p0 6 p0 7 p3 7 /int 0 reset m37534rss m37534m4-xxxsp m37534e8sp p3 5 (led 5 ) p3 4 (led 4 ) p3 3 (led 3 ) p3 2 (led 2 ) usbv refout p1 0 /r x d/d- p1 1 /t x d/d+ p2 7 /an 7 p1 6 p1 5 p4 0 p4 1 p3 6 (led 6 )/int 1
7534 group rev.2.00 jun 21, 2004 page 4 of 54 rej03b0099-0200z functional block fig. 4 functional block diagram (36p2r package type) functional block diagram (package: 36p2r) s i / o 1 ( 8 ) u s b ( l s ) r a m r o m c p u a x y s p c h p c l p s v s s 1 8 r e s e t 1 3 v c c 1 5 1 4 c n v s s c n t r 0 r e x e c e h e 8 3 4 3 2 3 0 2 8 3 3 3 1 2 9 2 7 r e o e c e 1 e 8 3 1 3 5 2 3 6 7 5 6 4 r e i e c e h e 8 r e . e c e n e 8 1 2 1 6 1 7 1 1 9 1 0 8 v r e f 0 2 6 i n t 0 2 0 2 3 2 1 1 9 2 2 2 4 2 5 3 e g e 6 e u e i e c e h e 8 u s b v r e f o u t x i n x o u t 4 e b e j e u e c e e e b e r e a e 9 e e 4 e b e j e u e c e e e j e 9 e e e a e 9 e e 4 e b e j e u e c e e e t e / e r e / e 2 e z e e e b e r e t e e e u e b e 2 e u e 9 e b e e p e z e e e u e e d e j e t e e e e e b e l e / e 2 e / e ( e / e e i e 6 e 7 e e u e j e r e z e / e 2 e e e / e 2 c e o e x e 8 g e 6 e u e e e a e j e 2 e e e e e r e . g e 6 e u e e e a e j e 2 e e e e e r e i g e 6 e u e e e a e j e 2 e e e e e r e o g e 6 e u e e e a e j e 2 e e e e e r e x k e y - o n w a k e u p o e b e l e / e 2 e e e o e e e c e h e 8 o e b e l e / e 2 e e e i e e e c e h e 8 o e b e l e / e 2 e e e g e e e c e h e 8 r e 2 e / e ( e u e z e b e / e 2 e e e o e i e e e c e h e 8 r e 2 e / e ( e u e z e b e / e 2 e e e g e e e c e h e 8 e / e ( e / e e e e e b e r e a e 9 e e
7534 group rev.2.00 jun 21, 2004 page 5 of 54 rej03b0099-0200z fig. 5 functional block diagram (32p6u-a package type) functional block diagram (package: 32p6u-a) s i / o 1 ( 8 ) u s b ( l s ) r a m r o m c p u a x y s p c h p c l p s v s s 1 1 r e s e t 6 v c c 8 7 c n v s s c n t r 0 r e x e c e h e 8 2 5 2 3 2 1 1 9 2 4 2 2 2 0 1 8 r e o e c e 1 e 8 3 0 2 8 2 6 2 9 2 7 3 2 3 1 r e i e c e y e 8 r e . e c e 1 e 8 5 9 1 0 4 2 3 1 v r e f 0 1 7 1 3 1 6 1 4 1 2 1 5 3 e g e 6 e u e i e c e h e 8 u s b v r e f o u t x i n x o u t 4 e b e j e u e c e e e b e r e a e 9 e e 4 e b e j e u e c e e e j e 9 e e e a e 9 e e 4 e b e j e u e c e e e t e / e r e / e 2 e z e e e b e r e t e e e u e b e 2 e u e 9 e b e e p e z e e e u e e d e j e t e e e e e b e l e / e 2 e / e ( e / e e i e 6 e 7 e e u e j e r e z e / e 2 e e e / e 2 c e o e x e 8 g e 6 e u e e e a e j e 2 e e e e e r e . g e 6 e u e e e a e j e 2 e e e e e r e i g e 6 e u e e e a e j e 2 e e e e e r e o g e 6 e u e e e a e j e 2 e e e e e r e x k e y - o n w a k e u p o e b e l e / e 2 e e e o e e e c e h e 8 o e b e l e / e 2 e e e i e e e c e h e 8 o e b e l e / e 2 e e e g e e e c e h e 8 r e 2 e / e ( e u e z e b e / e 2 e e e o e i e e e c e h e 8 r e 2 e / e ( e u e z e b e / e 2 e e e g e e e c e h e 8 e / e ( e / e e e e e b e r e a e 9 e e
7534 group rev.2.00 jun 21, 2004 page 6 of 54 rej03b0099-0200z fig. 6 functional block diagram (42p4b package type) t i m e r 1 ( 8 ) t i m e r 2 ( 8 ) t i m e r x ( 8 ) p r e s c a l e r 1 2 ( 8 ) p r e s c a l e r x ( 8 ) x i n o u t x e e e e e e e e e e e i e e e v e e e e e e e e e e e u e e e v 4 e e e e e r e e e e e n i g q 3 r e 4 ) r e 4 l r e 3 v s s 2 1 r e s e t 1 6 v c c 1 8 1 7 c n v s s c n t r 0 p 1 ( 7 ) p 2 ( 8 ) p 3 ( 8 ) 1 9 2 0 v r e f 0 i n t 0 u s b v r e f o u t i n t 1 p 4 ( 2 ) 3 e g e 6 e u e o e c e h e 8 n e 3 e s e c e l e 3 e 8 3 e g e 6 e u e i e c e h e 8 4 e b e j e u e c e e e t e / e r e / e 2 e z e e e b e r e t e e e u e b e 2 e u e 9 e b e e p e z e e e u e e d e j e t e e e e e b e l e / e 2 e / e ( e / e e i e 6 e 7 e e u e j e r e z e / e 2 e e e / e 2 c e o e x e 8 g e 6 e u e e e a e j e 2 e e e e e r e . g e 6 e u e e e a e j e 2 e e e e e r e i g e 6 e u e e e a e j e 2 e e e e e r e o g e 6 e u e e e a e j e 2 e e e e e r e x g e 6 e u e e e a e j e 2 e e e e e r e , k e y - o n w a k e u p 4 e b e j e u e c e e e b e r e a e 9 e e 4 e b e j e u e c e e e j e 9 e e e a e 9 e e e / e ( e / e e e e e b e r e a e 9 e e 1 3 1 4 1 5 2 4 2 7 2 5 2 3 2 6 2 8 2 9 2 2 8 5 7 4 1 2 1 0 1 1 9 3 0 3 1 4 1 2 4 2 3 9 4 0 p 0 ( 8 ) 3 8 3 6 3 4 3 2 3 7 3 5 3 3 3 1
7534 group rev.2.00 jun 21, 2004 page 7 of 54 rej03b0099-0200z pin description table 1 pin description pin vcc, vss v ref usbv refout cnvss reset p0 0 Cp0 7 p1 0 /rxd/d- p1 1 /txd/d+ p1 2 /s clk p1 3 /s data p1 4 /cntr 0 p1 5 , p1 6 p2 0 /an 0 C p2 7 /an 7 p3 0 Cp3 5 p3 6 /int 1 p3 7 /int 0 p4 0 , p4 1 x in x out function ?apply voltage of 4.1 to 5.5 v (4.4 to 5.25 v at usb operating) to vcc, and 0 v to vss. ?reference voltage input pin for a/d converter ?output pin for pulling up a d- line with 1.5 k ? external resistor ?chip operating mode control pin, which is always connected to vss. ?reset input pin for active l ?input and output pins for main clock generating circuit ?connect a ceramic resonator or quartz crystal oscillator between the x in and x out pins. ?if an external clock is used, connect the clock source to the x in pin and leave the x out pin open. function expect a port function name power source analog reference voltage usb reference voltage output cnvss reset input ?8-bit i/o port. ?i/o direction register allows each pin to be individually pro- grammed as either input or output. ?cmos compatible input level ?cmos 3-state output structure ?whether a built-in pull-up resistor is to be used or not can be determined by program. ?7-bit i/o port ?i/o direction register allows each pin to be individually pro- grammed as either input or output. ?cmos compatible input level ?cmos 3-state output structure ?cmos/ttl level can be switched for p1 0 , p1 2 , p1 3 . ?when using the usb function, input level of ports p1 0 and p1 1 becomes usb input level, and output level of them becomes usb output level. ?8-bit i/o port having almost the same function as p0 ?cmos compatible input level ?cmos 3-state output structure clock input clock output i/o port p0 i/o port p1 i/o port p2 i/o port p3 i/o port p4 ?whether a built-in pull-up resistor is to be used or not can be determined by program. ?2-bit i/o port ?i/o direction register allows each pin to be individually programmed as either input or output. ?key-input (key-on wake up interrupt input) pins ?serial i/o1 function pin ?serial i/o2 function pin ?timer x function pin ?input pins for a/d converter ?interrupt input pins ?8-bit i/o port ?i/o direction register allows each pin to be individually programmed as either input or output. ?cmos compatible input level (cmos/ttl level can be switched for p3 6 , p3 7 ). ?cmos 3-state output structure ?p3 0 to p3 6 can output a large current for driving led.
7534 group rev.2.00 jun 21, 2004 page 8 of 54 rej03b0099-0200z group expansion mitsubishi expands the 7534 group as follow: memory type support for mask rom version, one time prom version, and emu- lator mcu . memory size rom/prom size.................................................. 8 k to 16 k bytes ram size................................................................ 256 to 384 bytes fig. 7 memory expansion currently supported products are listed below. table 2 list of supported products part number m37534m4-xxxfp m37534m4-xxxgp m37534m4-xxxsp m37534e4gp m37534e8fp m37534e8sp m37534rss remarks mask rom version mask rom version mask rom version one time prom version (blank) one time prom version (blank) one time prom version (blank) emulator mcu package 36p2r-a 32p6u-a 42p4b 32p6u-a 36p2r-a 42p4b 42s1m (p) rom size (bytes) rom size for user () 8192 (8062) 8192 (8062) 8192 (8062) 8192 (8062) 16384 (16254) 16384 (16254) ram size (bytes) 256 256 256 256 384 384 384 r o m s i z e ( b y t e ) ram size (byte) 1 2 8 1 6 k 2 5 63 8 4 8 k 0 m 3 7 5 3 4 e 8 m37534m4 m37534e4 package 36p2r-a ..................................... 0.8 mm-pitch plastic molded sop 32p6u-a ................................... 0.8 mm-pitch plastic molded lqfp 42p4b ................................................... 42 pin plastic molded sdip 42sim ...................................... 42 pin shrink ceramic piggy back
7534 group rev.2.00 jun 21, 2004 page 9 of 54 rej03b0099-0200z functional description central processing unit (cpu) the 7534 group uses the standard 740 family instruction set. refer to the table of 740 family addressing modes and machine-language instructions or the 740 family software manual for details on each instruction set. machine-resident 740 family instructions are as follows: 1. the fst and slw instructions cannot be used. 2. the mul and div instructions cannot be used. 3. the wit instruction can be used. 4. the stp instruction can be used. [cpu mode register] cpum the cpu mode register contains the stack page selection bit. this register is allocated at address 003b 16 . note on stack page when 1 page is used as stack area by the stack page selection bit, the area which can be used as stack depends on ram size. espe- cially, be careful that the ram area varies in mask rom version, one time prom version and emulator mcu. fig. 9 switching method of cpu mode register switching method of cpu mode register switch the cpu mode register (cpum) at the head of program after releasing reset in the following method. fig. 8 structure of cpu mode register c p u m o d e r e g i s t e r ( c p u m : a d d r e s s 0 0 3 b 1 6 ) s t a c k p a g e s e l e c t i o n b i t 0 : 0 p a g e 1 : 1 p a g e main clock division ratio selection bits b7 b6 0 0 : f( ) = f(x in )/2 (high-speed mode) 0 1 : f( ) = f(x in )/8 (middle-speed mode) 1 0 : applied from on-chip oscillator 1 1 : f( ) = f(x in ) (double-speed mode) not used (returns 0 when read) (do not write 1 to these bits ) p r o c e s s o r m o d e b i t s b 1 b 0 0 0 s i n g l e - c h i p m o d e 0 1 1 0 1 1 n o t a v a i l a b l e b 7 b 0 switch the clock division ratio selection bits (bits 6 and 7 of cpum) after releasing reset main routine start with an on-chip oscillator ( note ) switch to other mode except an on-chip oscillator (select one of 1/1, 1/2, and 1/8) note . after releasing reset the operation starts by starting an on-chip oscillator automatically. do not use an on-chip oscillator at ordinary operation. wait until establish ceramic oscillator clock.
7534 group rev.2.00 jun 21, 2004 page 10 of 54 rej03b0099-0200z memory special function register (sfr) area the sfr area in the zero page contains control registers such as i/o ports and timers. ram ram is used for data storage and for a stack area of subroutine calls and interrupts. rom the first 128 bytes and the last 2 bytes of rom are reserved for device testing and the rest is a user area for storing programs. interrupt vector area the interrupt vector area contains reset and interrupt vectors. zero page the 256 bytes from addresses 0000 16 to 00ff 16 are called the zero page area. the internal ram and the special function registers (sfr) are allocated to this area. the zero page addressing mode can be used to specify memory and register addresses in the zero page area. access to this area with only 2 bytes is possible in the zero page addressing mode. special page the 256 bytes from addresses ff00 16 to ffff 16 are called the spe- cial page area. the special page addressing mode can be used to specify memory addresses in the special page area. access to this area with only 2 bytes is possible in the special page addressing mode. fig. 10 memory map diagram 0100 16 0000 16 0040 16 0440 16 ff00 16 ffec 16 fffe 16 ffff 16 256 384 xxxx 16 013f 16 01bf 16 8192 16384 e000 16 c000 16 e080 16 c080 16 yyyy 16 zzzz 16 ram rom reserved area sfr area not used interrupt vector area rom area reserved rom area (128 bytes) zero page special page ram area ram capacity (bytes) address xxxx 16 rom capacity (bytes) address yyyy 16 reserved rom area address zzzz 16
7534 group rev.2.00 jun 21, 2004 page 11 of 54 rej03b0099-0200z fig. 11 memory map of special function register (sfr) 0 0 0 0 1 6 0 0 0 1 1 6 0 0 0 2 1 6 0 0 0 3 1 6 0 0 0 4 1 6 0 0 0 5 1 6 0 0 0 6 1 6 0 0 0 7 1 6 0 0 0 8 1 6 0 0 0 9 1 6 0 0 0 a 1 6 0 0 0 b 1 6 0 0 0 c 1 6 0 0 0 d 1 6 0 0 0 e 1 6 0 0 0 f 1 6 0010 16 0011 16 0 0 1 2 1 6 0 0 1 3 1 6 0 0 1 4 1 6 0 0 1 5 1 6 0016 16 0017 16 0018 16 0 0 1 9 1 6 0 0 1 a 1 6 0 0 1 b 1 6 0 0 1 c 1 6 001d 16 001e 16 0 0 1 f 1 6 p o r t p 0 ( p 0 ) p o r t p 0 d i r e c t i o n r e g i s t e r ( p 0 d ) p o r t p 1 ( p 1 ) p o r t p 1 d i r e c t i o n r e g i s t e r ( p 1 d ) p o r t p 2 ( p 2 ) p o r t p 2 d i r e c t i o n r e g i s t e r ( p 2 d ) p o r t p 3 ( p 3 ) p o r t p 3 d i r e c t i o n r e g i s t e r ( p 3 d ) pull-up control register (pull) transmit/receive buffer register (tb/rb) u s b s t a t u s r e g i s t e r ( u s b s t s ) / u a r t s t a t u s r e g i s t e r ( u a r t s t s ) s e r i a l i / o 1 c o n t r o l r e g i s t e r ( s i o 1 c o n ) u a r t c o n t r o l r e g i s t e r ( u a r t c o n ) b a u d r a t e g e n e r a t o r ( b r g ) port p1p3 control register (p1p3c) usb data toggle synchronization register ( trsync) usb interrupt source discrimination register 1 (usbir1) u s b i n t e r r u p t s o u r c e d i s c r i m i n a t i o n r e g i s t e r 2 ( u s b i r 2 ) 0020 16 0021 16 0022 16 0023 16 0024 16 0025 16 0026 16 0027 16 0028 16 0029 16 002a 16 002b 16 002c 16 002d 16 002e 16 002f 16 0030 16 0031 16 0032 16 0033 16 0034 16 0035 16 0036 16 0037 16 0038 16 0039 16 003a 16 003b 16 003c 16 003d 16 003e 16 003f 16 t i m e r c o u n t s o u r c e s e t r e g i s t e r ( t c s s ) a / d c o n v e r s i o n r e g i s t e r ( l o w - o r d e r ) ( a d l ) p r e s c a l e r 1 2 ( p r e 1 2 ) t i m e r 1 ( t 1 ) t i m e r 2 ( t 2 ) t i m e r x m o d e r e g i s t e r ( t m ) p r e s c a l e r x ( p r e x ) t i m e r x ( t x ) serial i/o2 control register (sio2con) serial i/o2 register (sio2) a / d c o n t r o l r e g i s t e r ( a d c o n ) a/d conversion register (high-order) (adh) misrg w a t c h d o g t i m e r c o n t r o l r e g i s t e r ( w d t c o n ) i n t e r r u p t e d g e s e l e c t i o n r e g i s t e r ( i n t e d g e ) c p u m o d e r e g i s t e r ( c p u m ) i n t e r r u p t r e q u e s t r e g i s t e r 1 ( i r e q 1 ) interrupt control register 1 (icon1) u s b i n t e r r u p t c o n t r o l r e g i s t e r ( u s b i c o n ) u s b t r a n s m i t d a t a b y t e n u m b e r s e t r e g i s t e r 0 ( e p 0 b y t e ) u s b t r a n s m i t d a t a b y t e n u m b e r s e t r e g i s t e r 1 ( e p 1 b y t e ) u s b p i d c o n t r o l r e g i s t e r 0 ( e p 0 p i d ) u s b p i d c o n t r o l r e g i s t e r 1 ( e p 1 p i d ) u s b a d d r e s s r e g i s t e r ( u s b a ) u s b s e q u e n c e b i t i n i t i a l i z a t i o n r e g i s t e r ( i n i s q 1 ) u s b c o n t r o l r e g i s t e r ( u s b c o n ) p o r t p 4 ( p 4 ) p o r t p 4 d i r e c t i o n r e g i s t e r ( p 4 d )
7534 group rev.2.00 jun 21, 2004 page 12 of 54 rej03b0099-0200z i/o ports [direction registers] pid the i/o ports have direction registers which determine the input/out- put direction of each pin. each bit in a direction register corresponds to one pin, and each pin can be set to be input or output. when 1 is set to the bit corresponding to a pin, this pin becomes an output port. when 0 is set to the bit, the pin becomes an input port. when data is read from a pin set to output, not the value of the pin itself but the value of port latch is read. pins set to input are floating, and permit reading pin values. if a pin set to input is written to, only the port latch is written to and the pin remains floating. [pull-up control] pull by setting the pull-up control register (address 0016 16 ), ports p0 and p3 can exert pull-up control by program. however, pins set to output are disconnected from this control and cannot exert pull-up control. [port p1p3 control] p1p3c by setting the port p1p3 control register (address 0017 16 ), a cmos input level or a ttl input level can be selected for ports p1 0 , p1 2, p1 3, p3 6 and p3 7 by program. then, as for the 36-pin version, set 1 to each bit 6 of the port p3 direction register and port p3 register. as for the 32-pin version, set 1 to respective bits 5, 6, 7 of the port p3 direction register and port p3 register. fig. 13 structure of port p1p3 control register fig. 12 structure of pull-up control register pull-up control register (pull: address 0016 16 ) p0 0 pull-up control bit p0 1 pull-up control bit p0 2 , p0 3 pull-up control bit p0 4 C p0 7 pull-up control bit p3 0 C p3 3 pull-up control bit p3 4 pull-up control bit p3 5 , p3 6 pull-up control bit p3 7 pull-up control bit note : pins set to output ports are disconnected from pull-up control. b7 b0 0: pull-up off 1: pull-up on initial value: ff 16 port p1p3 control register (p1p3c: address 0017 16 ) b7 b0 p3 7 /int 0 input level selection bit 0 : cmos level 1 : ttl level p3 6 /int 1 input level selection bit 0 : cmos level 1 : ttl leve p1 0 ,p1 2 ,p1 3 input level selection bit 0 : cmos level 1 : ttl level not used
7534 group rev.2.00 jun 21, 2004 page 13 of 54 rej03b0099-0200z table 3 i/o port function table name i/o port p0 i/o port p1 i/o port p2 i/o port p3 i/o port p4 pin p0 0 Cp0 7 p1 0 /rxd/d- p1 1 /txd/d+ p1 2 /s clk p1 3 /s data p1 4 /cntr 0 p1 5 , p1 6 p2 0 /an 0 C p2 7 /an 7 p3 0 Cp3 5 p3 6 /int 1 p3 7 /int 0 p4 0 , p4 1 related sfrs pull-up control register serial i/o1 control register serial i/o2 control register timer x mode register a/d control register interrupt edge selection register diagram no. input/output i/o individual bits i/o format ?cmos compatible input level ?cmos 3-state output ?usb input/output level when selecting usb function ?cmos compatible input level ?cmos 3-state output (note) non-port function key input interrupt serial i/o1 function input/ output serial i/o2 function input/ output timer x function input/output a/d conversion input external interrupt input (1) (2) (3) (4) (5) (6) (10) (7) (8) (9) (10) note: port p1 0, p1 2, p1 3, p3 6, p3 7 is cmos/ttl level.
7534 group rev.2.00 jun 21, 2004 page 14 of 54 rej03b0099-0200z fig. 14 block diagram of ports (1) data bus + - (1) port p0 data bus direction register port latch pull-up control to key input interrupt generating circuit data bus direction register port latch serial i/o1 mode selection bit (b7) serial i/o1 mode selection bit (b6) receive enable bit serial i/o1 mode selection bit (b7) serial i/o1 mode selection bit (b6) p1 0 ,p1 2 ,p1 3 input level selection bit d- input d- output serial i/o1 input usb output enable (internal signal) usb differential input d+ input d+ output serial i/o1 output usb output enable (internal signal) direction register port latch (3) port p1 1 p-channel output disable bit (2) port p1 0 (4) port p1 2 (5) port p1 3 data bus direction register p1 0 ,p1 2 ,p1 3 input level selection bit s clk pin selection bit port latch serial i/o2 clock output serial i/o2 clock input serial i/o2 clock output serial i/o2 clock input p1 0 ,p1 2 ,p1 3 input level selection bit data bus direction register signals during the s data output action port latch s data pin selection bit s data pin selection bit : p1 0 , p1 2 , p1 3 , p3 6 , p3 7 input levels are switched to the cmos/ttl level by the port p1p3 control register. serial i/o1 mode selection bit (b7) serial i/o1 mode selection bit (b6) serial i/o1 mode selection bit (b7) serial i/o1 mode selection bit (b6) transmit enable bit when the ttl level is selected, there is no hysteresis characteristics. * * * *
7534 group rev.2.00 jun 21, 2004 page 15 of 54 rej03b0099-0200z fig. 15 block diagram of ports (2) (9) ports p3 6 , p3 7 data bus port latch pull-up control int interrupt input * (7) ports p2 0 Cp2 7 analog input pin selection bit a/d converter input data bus port latch (8) ports p3 0 Cp3 5 data bus port latch pull-up control (6) ports p1 4 cntr 0 interrupt input direction register data bus port latch pulse output mode timer output p3 7 /int 0 input level selection bit (10) ports p1 5, p1 6, p4 0, p4 1 data bus port latch direction register direction register direction register direction register : p1 0 , p1 2 , p1 3 , p3 6 , p3 7 input levels are switched to the cmos/ttl level by the port p1p3 control register. when the ttl level is selected, there is no hysteresis characteristics. *
7534 group rev.2.00 jun 21, 2004 page 16 of 54 rej03b0099-0200z interrupt operation upon acceptance of an interrupt the following operations are auto- matically performed: 1. the processing being executed is stopped. 2. the contents of the program counter and processor status regis- ter are automatically pushed onto the stack. 3. the interrupt disable flag is set and the corresponding interrupt request bit is cleared. 4. concurrently with the push operation, the interrupt destination address is read from the vector table into the program counter. notes on use when the active edge of an external interrupt (int 0 , int 1 , cntr 0 ) is set, the interrupt request bit may be set. therefore, please take following sequence: 1. disable the external interrupt which is selected. 2. change the active edge in interrupt edge selection register. (in case of cntr 0 : timer x mode register) 3. clear the set interrupt request bit to 0. 4. enable the external interrupt which is selected. remarks non-maskable valid in uart mode valid in usb mode valid in uart mode valid in usb mode external interrupt (active edge selectable) external interrupt (active edge selectable) external interrupt (valid at falling) stp release timer underflow external interrupt (active edge selectable) non-maskable software interrupt note 1: vector addressed contain internal jump destination addresses. 2: reset function in the same way as an interrupt with the highest priority. interrupts interrupts occur by 14 different sources : 4 external sources, 9 inter- nal sources and 1 software source. interrupt control all interrupts except the brk instruction interrupt have an interrupt request bit and an interrupt enable bit, and they are controlled by the interrupt disable flag. when the interrupt enable bit and the interrupt request bit are set to 1 and the interrupt disable flag is set to 0, an interrupt is accepted. the interrupt request bit can be cleared by program but not be set. the interrupt enable bit can be set and cleared by program. it becomes usable by switching cntr 0 and a/d interrupt sources with bit 7 of the interrupt edge selection register, timer 2 and serial i/ o2 interrupt sources with bit 6, timer x and key-on wake-up interrupt sources with bit 5, and serial i/o transmit and int 1 interrupt sources with bit 4. the reset and brk instruction interrupt can never be disabled with any flag or bit. all interrupts except these are disabled when the in- terrupt disable flag is set. when several interrupts occur at the same time, the interrupts are received according to priority. table 6 interrupt vector address and priority vector addresses (note 1) high-order fffd 16 fffb 16 fff9 16 fff7 16 fff5 16 fff3 16 fff1 16 ffef 16 ffed 16 priority 1 2 3 4 5 6 7 8 9 low-order fffc 16 fffa 16 fff8 16 fff6 16 fff4 16 fff2 16 fff0 16 ffee 16 ffec 16 interrupt request generating conditions at reset input at completion of uart data receive at detection of in token at completion of uart transmit shift or when transmit buffer is empty at detection of setup/out token or at detection of reset/ suspend/ resume at detection of either rising or falling edge of int 1 input at detection of either rising or falling edge of int 0 input at timer x underflow at falling of conjunction of input logical level for port p0 (at input) at timer 1 underflow at timer 2 underflow at completion of transmit/receive shift at detection of either rising or falling edge of cntr 0 input at completion of a/d conversion at brk instruction execution interrupt source reset (note 2) uart receive usb in token uart transmit usb setup/out token reset/suspend/resume int 1 int 0 timer x key-on wake-up timer 1 timer 2 serial i/o2 cntr 0 a/d conversion brk instruction
7534 group rev.2.00 jun 21, 2004 page 17 of 54 rej03b0099-0200z fig. 16 interrupt control fig. 17 structure of interrupt-related registers interrupt disable flag i interrupt request interrupt request bit interrupt enable bit brk instruction reset b7 b0 b7 b0 interrupt edge selection register int 0 interrupt edge selection bit 0 : falling edge active 1 : rising edge active int 1 interrupt edge selection bit 0 : falling edge active 1 : rising edge active not used (returns 0 when read) serial i/o1 or int 1 interrupt selection bit 0 : serial i/o1 1 : int 1 timer x or key-on wake up interrupt selection bit 0 : timer x 1 : key-on wake up timer 2 or serial i/o2 interrupt selection bit 0 : timer 2 1 : serial i/o2 cntr 0 or ad converter interrupt selection bit 0 : cntr 0 1 : ad converter (intedge : address 003a 16 ) interrupt request register 1 uart receive/usb in token interrupt request bit uart transmit/usb setup/out token/ reset/suspend/resume/int interrupt request bit int 0 interrupt request bit timer x or key-on wake up interrupt request bit timer 1 interrupt request bit timer 2 or serial i/o2 interrupt request bit cntr 0 or ad converter interrupt request bit not used (returns 0 when read) 0 : no interrupt request issued 1 : interrupt request issued (ireq1 : address 003c 16 ) b7 b0 interrupt control register 1 uart receive/usb in token interrupt enable bit uart transmit/usb setup/out token/ reset/suspend/resume/int interrupt enable bit int 0 interrupt enable bit timer x or key-on wake up interrupt enable bit timer 1 interrupt enable bit timer 2 or serial i/o2 interrupt enable bit cntr 0 or ad converter interrupt enable bit not used (returns 0 when read) (do not write 1 to this bit) 0 : interrupts disabled 1 : interrupts enabled (icon1 : address 003e 16 ) 1 1
7534 group rev.2.00 jun 21, 2004 page 18 of 54 rej03b0099-0200z key input interrupt (key-on wake-up) a key-on wake-up interrupt request is generated by applying l level to any pin of port p0 that has been set to input mode. in other words, it is generated when the and of input level goes from 1 to 0. an example of using a key input interrupt is shown in fig- ure 18, where an interrupt request is generated by pressing one of the keys provided as an active-low key matrix which uses ports p0 0 to p0 3 as input ports. fig. 18 connection example when using key input interrupt and port p0 block diagram port pxx l level output pull register bit 3 = 0 port p0 7 latch port p0 7 direction register = 1 ** * p0 7 output key input interrupt request port p0 input read circuit * p-channel transistor for pull-up ** cmos output buffer pull register bit 3 = 0 port p0 6 latch port p0 6 direction register = 1 ** * p0 6 output pull register bit 3 = 0 port p0 5 latch port p0 5 direction register = 1 ** * p0 5 output pull register bit 3 = 0 port p0 4 latch port p0 4 direction register = 1 ** * p0 4 output pull register bit 2 = 1 port p0 3 latch port p0 3 direction register = 0 ** * p0 3 input pull register bit 2 = 1 port p0 2 latch port p0 2 direction register = 0 ** * p0 2 input pull register bit 1 = 1 port p0 1 latch port p0 1 direction register = 0 ** * p0 1 input pull register bit 0 = 1 port p0 0 latch port p0 0 direction register = 0 ** * p0 0 input falling edge detection falling edge detection falling edge detection falling edge detection falling edge detection falling edge detection falling edge detection falling edge detection
7534 group rev.2.00 jun 21, 2004 page 19 of 54 rej03b0099-0200z timers the 7534 group has 3 timers: timer x, timer 1 and timer 2. the division ratio of every timer and prescaler is 1/(n+1) provided that the value of the timer latch or prescaler is n. all the timers are down count timers. when a timer reaches 0, an underflow occurs at the next count pulse, and the corresponding timer latch is reloaded into the timer. when a timer underflows, the inter- rupt request bit corresponding to each timer is set to 1. timer 1, timer 2 prescaler 12 always counts f(x in )/16. timer 1 and timer 2 always count the prescaler output and periodically sets the interrupt request bit. timer x timer x can be selected in one of 4 operating modes by setting the timer x mode register. ? timer mode the timer counts the signal selected by the timer x count source selection bit. ? pulse output mode the timer counts the signal selected by the timer x count source selection bit, and outputs a signal whose polarity is inverted each time the timer value reaches 0, from the cntr 0 pin. when the cntr 0 active edge switch bit is 0, the output of the cntr 0 pin is started with an h output. at 1, this output is started with an l output. when using a timer in this mode, set the port p1 4 direction register to output mode. ? event counter mode the operation in the event counter mode is the same as that in the timer mode except that the timer counts the input signal from the cntr 0 pin. when the cntr 0 active edge switch bit is 0, the timer counts the rising edge of the cntr 0 pin. when this bit is 1, the timer counts the falling edge of the cntr 0 pin. ? pulse width measurement mode when the cntr 0 active edge switch bit is 0, the timer counts the signal selected by the timer x count source selection bit while the cntr 0 pin is h. when this bit is 1, the timer counts the signal while the cntr 0 pin is l. in any mode, the timer count can be stopped by setting the timer x count stop bit to 1. each time the timer overflows, the interrupt request bit is set. fig. 19 structure of timer x mode register fig. 20 timer count source set register timer x mode register (tm : address 002b 16 ) cntr 0 active edge switch bit 0 : interrupt at falling edge count at rising edge (in event counter mode) 1 : interrupt at rising edge count at falling edge (in event counter mode) timer x operating mode bits b1 b0 0 0 : timer mode 0 1 : pulse output mode 1 0 : event counter mode 1 1 : pulse width measurement mode not used (return 0 when read) timer x count stop bit 0 : count start 1 : count stop b7 b0 timer count source set register (tcss : address 002e 16 ) b7 b0 timer x count source selection bit (note) 0 : f(x in )/16 1 : f(x in )/2 not used (return 0 when read) note : to switch the timer x count source selection bit , stop the timer x count operation.
7534 group rev.2.00 jun 21, 2004 page 20 of 54 rej03b0099-0200z fig. 21 block diagram of timer x, timer 1 and timer 2 timer mode pulse output mode q r to timer x interrupt request bit f(x in )/16 timer x latch (8) timer x (8) prescaler x latch (8) prescaler x (8) pulse width measurement mode f(x in )/2 timer x count source selection bit event counter mode timer x count stop bit port p1 4 direction register q 0 1 cntr 0 active edge switch bit port p1 4 latch pulse output mode 1 0 cntr 0 active edge switch bit p1 4 /cntr 0 toggle flip-flop timer x latch write pulse output mode t to cntr 0 interrupt request bit data bus to timer 1 interrupt request bit to timer 2 interrupt request bit data bus prescaler 12 (8) f(x in )/16 timer 1 (8) timer 2 (8) timer 2 latch (8) timer 1 latch (8) prescaler 12 latch (8)
7534 group rev.2.00 jun 21, 2004 page 21 of 54 rej03b0099-0200z fig. 22 block diagram of uart serial i/o fig. 23 operation of uart serial i/o function serial i/o serial i/o1 ? asynchronous serial i/o (uart) mode serial i/o1 can be used as an asynchronous (uart) serial i/o. a dedicated timer (baud rate generator) is also provided for baud rate generation when serial i/o1 is in operation. eight serial data transfer formats can be selected, and the transfer formats to be used by a transmitter and a receiver must be identi- cal. each of the transmit and receive shift registers has a buffer register (the same address on memory). since the shift register cannot be written to or read from directly, transmit data is written to the trans- mit buffer, and receive data is read from the respective buffer regis- ters. these buffer registers can also hold the next data to be trans- mitted and receive 2-byte receive data in succession. by selecting 1 for continuous transmit valid bit (bit 2 of sio1con), continuous transmission of the same data is made possible. this can be used as a simplified pwm. oe pe fe 1/16 x in 1/4 1/16 data bus receive buffer register address (0018 16 ) receive shift register receive buffer full flag (rbf) receive interrupt request (ri) st detector sp detector uart control register address (001a 16 ) character length selection bit 7-bit 8-bit address (001b 16 ) clock control circuit baud rate generator division ratio 1/(n+1) address (001c 16 ) brg count source selection bit transmit buffer register data bus transmit shift register address (0018 16 ) transmit shift register shift completion flag (tsc) transmit buffer empty flag (tbe) transmit interrupt request (ti) address (0019 16 ) character length selection bit transmit interrupt source selection bit continuous transmit valid bit serial i/o1 control register p1 0 /r x d p1 1 /t x d serial i/o1 status register st/sp/pa generator tsc=0 tbe=1 rbf=0 tbe=0 tbe=0 rbf=1 rbf=1 st d 0 d 1 sp d 0 d 1 st sp tbe=1 tsc=1* st d 0 d 1 sp d 0 d 1 st sp 1 : error flag detection occurs at the same time that the rbf flag becomes 1 (at 1st stop bit, during reception). 2 : the transmit interrupt (ti) can be selected to occur when either the tbe or tsc flag becomes 1, depending on the setting of the transmit interrupt source selection bit (tic) of the serial i/o1 control register. 3 : the receive interrupt (ri) is set when the rbf flag becomes 1. 4 : after data is written to the transmit buffer when tsc = 1, 0.5 to 1.5 cycles of the data shift cycle is necessary until chang ing to tsc = 0. notes transmit/receive clock transmit buffer register write signal serial output t x d receive buffer register read signal serial input r x d * generated at second bit in 2-stop -bit mode 1 start bit 7 or 8 data bit 1 or 0 parity bit 1 or 2 stop bit
7534 group rev.2.00 jun 21, 2004 page 22 of 54 rej03b0099-0200z [serial i/o1 control register] sio1con the serial i/o1 control register consists of eight control bits for the serial i/o1 function. [uart control register] uartcon the uart control register consists of four control bits (bits 0 to 3) which are valid when asynchronous serial i/o is selected and set the data format of an data transfer. one bit in this register (bit 4) is al- ways valid and sets the output structure of the p1 1 /txd pin. [uart status register] uartsts the read-only uart status register consists of seven flags (bits 0 to 6) which indicate the operating status of the uart function and vari- ous errors. this register functions as the uart status register (uartsts) when selecting the uart. the receive buffer full flag (bit 1) is cleared to 0 when the receive buffer is read. if there is an error, it is detected at the same time that data is trans- ferred from the receive shift register to the receive buffer, and the receive buffer full flag is set. a write to the uart status register clears all the error flags oe, pe, fe, and se (bit 3 to bit 6, respectively). writing 0 to the serial i/o1 mode selection bits mod1 and mod0 (bit 7 and 6 of the serial i/o1 control register ) also clears all the status flags, including the error flags. all bits of the serial i/o1 status register are initialized to 81 16 at reset, but if the transmit enable bit (bit 4) of the serial i/o1 control register has been set to 1, the continuous transmit valid bit (bit 2) becomes 1. [transmit/receive buffer register] tb/rb the transmit buffer and the receive buffer are located at the same address. the transmit buffer is write-only and the receive buffer is read-only. if a character bit length is 7-bit, the msb of data stored in the receive buffer is 0. fig. 24 continuous transmission operation of uart serial i/o [baud rate generator] brg the baud rate generator determines the baud rate for serial transfer. the baud rate generator divides the frequency of the count source by 1/(n + 1), where n is the value written to the baud rate generator. tsc=0 tbe=1 tbe=0 st d 0 d 1 sp d 0 d 1 st sp st 1 : when the serial i/o1 mode selection bits (b7, b6) is 10, the transmit enable bit is 1, and continuous transmit valid bit i s 1, writing on the transmit buffer initiates continuous transmission of the same data. 2 : select 0 for continuous transmit valid bit to stop continuous transmission. the t x d pin will stop at high level after completing transmission of 1 byte. 3 : if the transmit buffer contents are rewritten during a continuous transmission, transmission of the rewritten data will be sta rted after completing transmission of 1 byte. notes 1 start bit 7 or 8 data bit 1 or 0 parity bit 1 or 2 stop bit transmit/receive clock transmit buffer register write signal serial output t x d
7534 group rev.2.00 jun 21, 2004 page 23 of 54 rej03b0099-0200z ? universal serial bus (usb) mode by setting bits 7 and 6 of the serial i/o1 control register (address 001a 16 ) to 11, the usb mode is selected. this mode conforms to low speed device of usb specification 1.1. in this mode serial i/o1 interrupt have 6 sources; usb in and out token receive, setup token receive, usb reset, suspend, and fig. 26 usb transceiver block diagram resume. the usb status/uart status register functions as the usb status register (usbsts).there is the usbvref out pin for the usb reference voltage output, and a d-line with 1.5 k ? external resistor can be pull up. usb mode block and usb transceiver block shown in figures 25 and 26. fig. 25 usb mode block diagram x in address 0018 16 receive shift register rxrdy receive buffer register sync decoder pid decoder rxpid opid pide address comparative unit usba end pointer decoder rxep crc check crce reset interrupt request suspend interrupt request resume interrupt request token interrupt request eop nrzi, bit stuffing decoder bstfe bus state detection digital pll 6 mhz usb transceiver nrzi, bit stuffing encoder data bus data bus address 0018 16 transmit shift register txrdy transmit buffer register ep0byte ep1byte sync, pid generating unit ep0pid ep1pid crc encoder eop generating unit usb transmit unit p1 0 /d- p1 1 /d+ differential input and single end input output data and i/o control 1.5 mhz serial i/o1 control register mod0 mod1 usb reference power source voltage usb control register uvoe (initial value 0) output enable signal voltage input output amplifier usbv refout d+/d- output amplifier internal d- output signal internal d+ output signal d- d+ suspend oe (internal signal) signal for function stop output enable signal - + differential input single end input single end input voltage input
7534 group rev.2.00 jun 21, 2004 page 24 of 54 rej03b0099-0200z fig. 27 structure of serial i/o1-related registers (1) b7 b0 b7 b0 usb status register (usbsts: address 0019 16 ) transmit buffer empty flag 0: buffer full 1: buffer empty eop detection flag 0: not detected 1: detect false eop error flag 0: no error 1: false eop error crc error flag 0: no error 1: crc error pid error flag 0: no error 1: pid error bit stuffing error flag 0: no error 1: bit stuffing error summing error flag 0: no error 1: summing error receive buffer full flag 0: buffer empty 1: buffer full b7 b0 transmit buffer register (tb: address 0018 16 ) after setting data to address 0018 16 , a content of the transmit buffer register transfers to the transmit shift register automatically. cpu read: disabled cpu write: set/clear hardware read: used hardware write: not used receive buffer register (rb: address 0018 16 ) by reading data from address 0018 16 , a content of the receive buffer register can be read out. cpu read: enabled cpu write: disabled hardware read: not used hardware write: set/clear cpu read: enabled cpu write: disabled hardware read: not used hardware write: set/clear cpu read: enabled cpu write: clear hardware read: not used hardware write: set cpu read: enabled cpu write: disabled hardware read: not used hardware write: set/clear
7534 group rev.2.00 jun 21, 2004 page 25 of 54 rej03b0099-0200z fig. 28 structure of serial i/o1-related registers (2) not used (return 1 when read) endpoint 1 enable 0: endpoint 1 invalid 1: endpoint 1 valid usb reset interrupt enable 0: usb reset invalid 1: usb reset valid resume interrupt enable 0: resume invalid 1: resume valid token interrupt enable 0: token invalid 1: token valid usb enable flag 0: usb invalid 1: usb valid b7 b0 cpu read: enabled cpu write: clear hardware read: not used hardware write: set usb data toggle synchronization register (trsync: address 001d 16 ) not used (return 1 when read) sequence bit toggle flag 0: no toggle 1: sequence toggle b7 b0 cpu read: enabled cpu write: disabled hardware read: not used hardware write: set/clear usb interrupt source discrimination register 1 (usbir1: address 001e 16 ) not used (return 1 when read) endpoint determination flag 0: endpoint 0 interrupt 1: endpoint 1 interrupt b7 b0 b7 b0 cpu read: enabled cpu write: clear hardware read: not used hardware write: set usb interrupt source discrimination register 2 (usbir2: address 001f 16 ) not used (return 1 when read) suspend request flag 0: no request 1: suspend request usb reset request flag 0: no request 1: reset request not used (return 1 when read) token pid determination flag 0: setup interrupt 1: out interrupt token interrupt flag 0: no request 1: token request cpu read: enabled cpu write: disabled hardware read: not used hardware write: set/clear cpu read: enabled cpu write: disabled hardware read: not used hardware write: set/clear usb interrupt control register (usbicon: address 0020 16 ) cpu read: enabled cpu write: set/clear hardware read: used hardware write: not used
7534 group rev.2.00 jun 21, 2004 page 26 of 54 rej03b0099-0200z fig. 29 structure of serial i/o1-related registers (3) b7 b0 usb transmit data byte number set register 1 (ep1byte: address 0022 16 ) set a number of data byte for transmitting with endpoint 1. cpu read: enabled cpu write: set/clear hardware read: used hardware write: not used not used (return 0 when read) b7 b0 usb transmit data byte number set register 0 (ep0byte: address 0021 16 ) set a number of data byte for transmitting with endpoint 0. cpu read: enabled cpu write: set/clear hardware read: used hardware write: not used not used (return 0 when read) b7 b0 usb address register (usba: address 0025 16 ) set an address allocated by the usb host. cpu read: disabled cpu write: set/clear hardware read: used hardware write: not used not used (returns 1 when read) usb pid control register 1 (ep1pid: address 0024 16 ) not used (return 1 when read) endpoint 1 pid selection flag 1x: in token interrupt of data0/1 is valid 01: stall handshake is valid for in token 00: nack handshake is valid for in token b7 b0 x: any data b6 cpu read: enabled cpu write: set/clear hardware read: used hardware write: not used b7 cpu read: enabled cpu write: set/clear hardware read: used hardware write: clear b7 b0 usb pid control register 0 (ep0pid: address 0023 16 ) not used (return 1 when read) endpoint 0 enable flag 0: endpoint 0 invalid 1: endpoint 0 valid endpoint 0 pid selection flag 1xxx: in token interrupt of data0/1 is valid 01xx: stall handshake is valid for in token 00xx: nack handshake is valid for in token xxx1: stall handshake is valid for out token (note) xx10: ack handshake is valid for out token xx00: nack handshake is valid for out token cpu read: enabled cpu write: set/clear hardware read: used hardware write: not used b4, b5, b6 cpu read: enabled cpu write: set/clear hardware read: used hardware write: not used b7 cpu read: enabled cpu write: set/clear hardware read: used hardware write: clear x: any data note: in the status stage of the control read transfer, when pid of data packet = data0 (incorrect pid), this bit is set forcibly by hardware and stall handshake is valid.
7534 group rev.2.00 jun 21, 2004 page 27 of 54 rej03b0099-0200z fig. 30 structure of serial i/o1-related registers (4) usb sequence bit initialization register (inisq1: address 0026 16 ) a sequence bit of endpoint 1 is initialized. cpu read: disabled cpu write: dummy hardware read: not used hardware write: not used b7 b0 b7 b0 b7 b0 b7 b0 usb control register (usbcon: address 0027 16 ) not used (return 1 when read) usbv refout output valid flag 0: output off 1: output on remote wake up request flag 0: no request 1: remote wake up request cpu read: disabled cpu write: set/clear hardware read: used hardware write: not used cpu read: disabled cpu write: set hardware read: used hardware write: clear uart status register (uartsts: address 0019 16 ) transmit buffer empty flag 0: buffer full 1: buffer empty receive buffer full flag 0: buffer empty 1: buffer full transmit shift register shift completion flag 0: transmit shift in progress 1: transmit shift completed overrun error flag 0: no error 1: overrun error parity error flag 0: no error 1: parity error framing error flag 0: no error 1: framing error summing error flag 0: no error 1: summing error not used (returns 1 when read) cpu read: enabled cpu write: disabled hardware read: not used hardware write: set/clear baud rate generator (brg: address 001c 16 ) this register is valid only when selecting the uart mode. a baud rate value is set. cpu read: disabled cpu write: set/clear hardware read: used hardware write: not used cpu read: enabled cpu write: clear hardware read: not used hardware write: set
7534 group rev.2.00 jun 21, 2004 page 28 of 54 rej03b0099-0200z fig. 31 structure of serial i/o1-related registers (5) uart control register (uartcon: address 001b 16 ) character length selection bit 0: 8 bits 1: 7 bits parity enable bit 0: parity checking disabled 1: parity checking enabled parity selection bit 0: even parity 1: odd parity stop bit length selection bit 0: 1 stop bit 1: 2 stop bits p-channel output disable bit 0: cmos output 1: n-channel open-drain output not used (returns 1 when read) cpu read: disabled cpu write: set/clear hardware read: used hardware write: not used b7 b0 b7 b0 serial i/o1 control register (sio1con: address 001a 16 ) brg count source selection bit 0: f(x in ) 1: f(x in )/4 not used (returns 1 when read) continuous transmit valid bit 0: continuous transmit invalid 1: continuous transmit valid transmit interrupt source selection bit 0: interrupt when transmit buffer has emptied 1: interrupt when transmit shift operation is completed transmit enable bit 0: transmit disabled 1: transmit enabled receive enable bit 0: receive disabled 1: receive enabled serial i/o1 mode selection bits 00: i/o port 01: not available 10: uart mode 11: usb mode cpu read: disabled cpu write: set/clear hardware read: used hardware write: not used cpu read: disabled cpu write: set/clear hardware read: used hardware write: not used
7534 group rev.2.00 jun 21, 2004 page 29 of 54 rej03b0099-0200z note on using usb mode handling of se0 signal in program (at receiving) 7534 group has the border line to detect as usb reset or eop (end of packet) on the width of se0 (single ended 0). a response apposite to a state of the device is expected. the name of the following short words which is used in table 5 shows as follow. ?tkne: token interrupt enable (bit 6 of address 20 16 ) ?rsme: resume interrupt enable (bit 5 of address 20 16 ) ?rste: usb reset interrupt enable (bit 4 of address 20 16 ) ?spec: a response of the device requested by usb specification 1.1 ?sie: hardware operation in 7534 group ?f/w: recommendation process in the program ?feope: false eop error flag (bit 2 of address 19 16 ) ?rxpid: token interrupt flag (bit 7 of address 1f 16 ) spec sie f/w reset or resume reset interrupt request reset interrupt processing resume interrupt processing table 5 relation of the width of se0 and the state of the device width of se0 0 s 0.5 s 0.5 s 2.5 s 2.5 s 2.67 s 2.67 s spec sie f/w spec sie f/w spec sie f/w spec sie f/w idle state tkne = x rsme = 0 rste =1 ignore keep counting suspend timer not acknowledge keep alive initialize suspend timer count value not acknowledge keep alive or reset may determine as keep alive and reset interrupt keep alive in case of no interrupt request reset processing in case of interrupt request reset reset interrupt request reset processing end of token in transaction tkne = 1 rsme = 0 rste =1 ignore not detected as eop(in case of no detection eop, sie returns idle state as time out. feope flag is set.) not acknowledge eop token interrupt request token interrupt processing execute eop or reset may determine as eop and reset interrupt rxpid = 1> token interrupt processing rxpid = 0> reset interrupt processing reset reset interrupt request reset processing end of data or handshake in transaction tkne = 0 rsme = 0 rste = 0 or 1 ignore not detected as eop(in case of no detection eop, sie returns idle state as timeup. feope flag is set.) wait for the next eop flag eop set eop flag after checking the set of eop flag, go to the next processing eop or reset may determine as eop and reset interrupt continue the processing in case of no interrupt request reset processing in case of interrupt request reset reset interrupt request reset processing suspend state tkne = 0 rsme = 1 rste = 0 state of device ? function of usbpid control register 0 (address 0023 16 ) bit 4 (stall handshake control for out token) of this register is forcibly set by sie under the special condition shown below. set condition; when pid of data packet = data0 (incorrect pid) in the status stage of the control read transfer. ? sync field at reception normally, the sync field consists of kjkjkjkk (8 bits). however, as for sie of the 7534 group, when the low-order 6 bits are kjkjkk, it is determined as sync.
7534 group rev.2.00 jun 21, 2004 page 30 of 54 rej03b0099-0200z serial i/o2 the serial i/o2 function can be used only for clock synchronous se- rial i/o. for clock synchronous serial i/o2 the transmitter and the receiver must use the same clock. when the internal clock is used, transfer is started by a write signal to the serial i/o2 register. [serial i/o2 control register] sio2con the serial i/o2 control register contains 8 bits which control various serial i/o functions. ? for receiving, set 0 to bit 3. ? when receiving, bit 7 is cleared by writing dummy data to serial i/ o2 register after shift is completed. ? bit 7 is set earlier a half cycle of shift clock than completion of shift operation. accordingly, when checking shift completion by using this bit, the setting is as follows: (1) check that this bit is set to 1, (2) wait a half cycle of shift clock, (3) read/write to serial i/o2 register. fig. 32 structure of serial i/o2 control registers fig. 33 block diagram of serial i/o2 serial i/o2 control register (sio2con: address 0030 16 ) s data pin selection bit (note) 0 : i/o port/s data input 1 : s data output internal synchronous clock selection bits 000 : f(x in )/8 001 : f(x in )/16 010 : f(x in )/32 011 : f(x in )/64 110 : f(x in )/128 111 : f(x in )/256 b7 b0 not used (returns 0 when read) transfer direction selection bit 0 : lsb first 1 : msb first s clk pin selection bit 0 : external clock (s clk is an input) 1 : internal clock (s clk is an output) transmit / receive shift completion flag 0 : shift in progress 1 : shift completed note : when using it as an s data input, set the port p1 3 direction register to 0. 1 0 0 1 0 1 1/8 1/16 1/32 1/64 1/128 1/256 x in data bus serial i/o2 interrupt request s data pin selection bit serial i/o counter 2 (3) serial i/o shift register 2 (8) s clk pin selection bit internal synchronous clock selection bits divider p1 2 /s clk p1 3 /s data p1 2 latch s clk pin selection bit s clk p1 3 latch s data pin selection bit
7534 group rev.2.00 jun 21, 2004 page 31 of 54 rej03b0099-0200z serial i/o2 operation by writing to the serial i/o2 register(address 0031 16 ) the serial i/o2 counter is set to 7. after writing, the s data pin outputs data every time the transfer clock shifts from a high to a low level. and, as the transfer clock shifts from a low to a high, the s data pin reads data, and at the same time the contents of the serial i/o2 register are shifted by 1 bit. when the internal clock is selected as the transfer clock source, the following operations execute as the transfer clock counts up to 8. ? serial i/o2 counter is cleared to 0. ? transfer clock stops at an h level. ? interrupt request bit is set. ? shift completion flag is set. also, the s data pin is in a high impedance state after the data trans- fer is complete. refer to figure 34. when the external clock is selected as the transfer clock source, the interrupt request bit is set as the transfer clock counts up to 8, but external control of the clock is required since it does not stop. notice that the s data pin is not in a high impedance state on the completion of data transfer. fig. 34 serial i/o2 timing (lsb first) d 0 note : when the internal clock is selected as the transfer and the direction register of p1 3 /s data pin is set to the input mode, synchronous clock serial i/o2 register write signal transfer clock (note) s data at serial i/o2 input receive s data at serial i/o2 output transmit serial i/o2 interrupt request bit set d 1 d 2 d 3 d 4 d 5 d 6 d 7 the s data pin is in a high impedance state after the data transfer is completed.
7534 group rev.2.00 jun 21, 2004 page 32 of 54 rej03b0099-0200z a/d converter the functional blocks of the a/d converter are described below. [a/d conversion register] ad the a/d conversion register is a read-only register that stores the result of a/d conversion. do not read out this register during an a/d conversion. [a/d control register] adcon the a/d control register controls the a/d converter. bit 2 to 0 are analog input pin selection bits. bit 4 is the ad conversion completion bit. the value of this bit remains at 0 during a/d conversion, and changes to 1 at completion of a/d conversion. a/d conversion is started by setting this bit to 0. [comparison voltage generator] the comparison voltage generator divides the voltage between v ss and v ref by 1024 by a resistor ladder, and outputs the divided volt- ages. since the generator is disconnected from v ref pin and v ss pin, current is not flowing into the resistor ladder. [channel selector] the channel selector selects one of ports p2 7 /an 7 to p2 0 /an 0, and inputs the voltage to the comparator. [comparator and control circuit] the comparator and control circuit compares an analog input volt- age with the comparison voltage and stores its result into the a/d conversion register. when a/d conversion is completed, the control circuit sets the ad conversion completion bit and the ad interrupt request bit to 1. because the comparator is constructed linked to a capacitor, set f(x in ) to 500 khz or more during a/d conversion. fig. 35 structure of a/d control register fig. 36 structure of a/d conversion register fig. 37 block diagram of a/d converter a / d c o n t r o l r e g i s t e r ( a d c o n : a d d r e s s 0 0 3 4 1 6 ) n o t u s e d ( r e t u r n s 0 w h e n r e a d ) n o t u s e d ( r e t u r n s 0 w h e n r e a d ) a d c o n v e r s i o n c o m p l e t i o n b i t 0 : c o n v e r s i o n i n p r o g r e s s 1 : c o n v e r s i o n c o m p l e t e d b 7 b 0 a n a l o g i n p u t p i n s e l e c t i o n b i t s 0 0 0 : p 2 0 / a n 0 0 0 1 : p 2 1 / a n 1 0 1 0 : p 2 2 / a n 2 0 1 1 : p 2 3 / a n 3 1 0 0 : p 2 4 / a n 4 1 0 1 : p 2 5 / a n 5 1 1 0 : p 2 6 / a n 6 1 1 1 : p 2 7 / a n 7 read 8-bit (read only address 0035 16 ) b7 b0 b9 b8 b7 b6 b5 b4 b3 b2 (address 0035 16 ) read 10-bit (read in order address 0036 16 , 0035 16 ) b7 b0 b9 b8 (address 0036 16 ) b7 b0 b7 b6 b5 b4 b3 b2 b1 b0 (address 0035 16 ) high-order 6-bit of address 0036 16 returns 0 when read. a / d c o n t r o l r e g i s t e r ( a d d r e s s 0 0 3 4 1 6 ) c h a n n e l s e l e c t o r a/d control circuit r e s i s t o r l a d d e r v s s comparator a / d i n t e r r u p t r e q u e s t b7 b0 d a t a b u s 3 1 0 p 2 0 / a n 0 p 2 1 / a n 1 p 2 2 / a n 2 p2 3 /an 3 p 2 4 / a n 4 p 2 5 / a n 5 p 2 6 / a n 6 p 2 7 / a n 7 a/d conversion register (low-order) ( a d d r e s s 0 0 3 6 1 6 ) ( a d d r e s s 0 0 3 5 1 6 ) a / d c o n v e r s i o n r e g i s t e r ( h i g h - o r d e r ) v r e f
7534 group rev.2.00 jun 21, 2004 page 33 of 54 rej03b0099-0200z watchdog timer the watchdog timer gives a means for returning to a reset status when the program fails to run on its normal loop due to a runaway. the watchdog timer consists of an 8-bit watchdog timer h and an 8- bit watchdog timer l, being a 16-bit counter. standard operation of watchdog timer the watchdog timer stops when the watchdog timer control register (address 0039 16 ) is not set after reset. writing an optional value to the watchdog timer control register (address 0039 16 ) causes the watchdog timer to start to count down. when the watchdog timer h underflows, an internal reset occurs. accordingly, it is programmed that the watchdog timer control register (address 0039 16 ) can be set before an underflow occurs. when the watchdog timer control register (address 0039 16 ) is read, the values of the high-order 6-bit of the watchdog timer h, stp in- struction disable bit and watchdog timer h count source selection bit are read. initial value of watchdog timer by a reset or writing to the watchdog timer control register (address 0039 16 ), the watchdog timer h is set to ff 16 and the watchdog timer l is set to ff 16 . operation of watchdog timer h count source selection bit a watchdog timer h count source can be selected by bit 7 of the watchdog timer control register (address 0039 16 ). when this bit is 0, the count source becomes a watchdog timer l underflow signal. the detection time is 174.763 ms at f(x in )=6 mhz. when this bit is 1, the count source becomes f(x in )/16. in this case, the detection time is 683 s at f(x in )=6 mhz. this bit is cleared to 0 after reset. operation of stp instruction disable bit when the watchdog timer is in operation, the stp instruction can be disabled by bit 6 of the watchdog timer control register (address 0039 16 ). when this bit is 0, the stp instruction is enabled. when this bit is 1, the stp instruction is disabled, and an internal reset occurs if the stp instruction is executed. once this bit is set to 1, it cannot be changed to 0 by program. this bit is cleared to 0 after reset. fig. 38 block diagram of watchdog timer fig. 39 structure of watchdog timer control register x in data bus 0 1 1/16 watchdog timer h count source selection bit reset circuit stp instruction disable bit watchdog timer h (8) write ff 16 to the watchdog timer control register internal reset reset watchdog timer l (8) stp instruction write ff 16 to the watchdog timer control register watchdog timer control register(address 0039 16 ) wdtcon watchdog timer h (read-only for high-order 6-bit) stp instruction disable bit 0 : stp instruction enabled 1 : stp instruction disabled watchdog timer h count source selection bit 0 : watchdog timer l underflow 1 : f(x in )/16 b7 b0
7534 group rev.2.00 jun 21, 2004 page 34 of 54 rej03b0099-0200z reset circuit the microcomputer is put into a reset status by holding the reset pin at the l level for 15 s or more when the power source voltage is 4.1 to 5.5 v and x in is in stable oscillation. after that, this reset status is released by returning the reset pin to the h level. the program starts from the address having the con- tents of address fffd 16 as high-order address and the contents of address fffc 16 as low-order address. note that the reset input voltage should be 0.82 v or less when the power source voltage passes 4.1 v. fig. 40 example of reset circuit fig. 41 timing diagram at reset (note) 0.2 v cc 0 v 0 v poweron v cc reset v cc reset power source voltage detection circuit power source voltage reset input voltage note : reset release voltage vcc = 4.1 v d a t a a d d r e s s 8 - 1 3 c l o c k c y c l e s r e s e t a d d r e s s f r o m t h e v e c t o r t a b l e 1 : a n o n - c h i p o s c i l l a t o r a p p l i e s a b o u t 2 5 0 k h z f r e q u e n c y a s c l o c k f a t a v e r a g e o f v c c = 5 v . 2 : t h e m a r k ? m e a n s t h a t t h e a d d r e s s i s c h a n g e a b l e d e p e n d i n g o n t h e p r e v i o u s s t a t e . 3 : t h e s e a r e a l l i n t e r n a l s i g n a l s e x c e p t r e s e t n o t e s r e s e t r e s e t o u t s y n c ?? f f f cf f f d a d h , a d l ??? ?? a d l a d h ??? c l o c k f r o m o n - c h i p o s c i l l a t o r
7534 group rev.2.00 jun 21, 2004 page 35 of 54 rej03b0099-0200z fig. 42 internal status of microcomputer at reset s e r i a l i / o 1 c o n t r o l r e g i s t e r u a r t c o n t r o l r e g i s t e r ( 8 ) ( 9 ) p r e s c a l e r 1 2 timer 1 timer 2 t i m e r x m o d e r e g i s t e r p r e s c a l e r x timer x timer count source set register s e r i a l i / o 2 c o n t r o l r e g i s t e r a / d c o n t r o l r e g i s t e r m i s r g watchdog timer control register i n t e r r u p t e d g e s e l e c t i o n r e g i s t e r cpu mode register i n t e r r u p t r e q u e s t r e g i s t e r 1 interrupt control register 1 p r o c e s s o r s t a t u s r e g i s t e r program counter ( 2 1 ) (22) (23) ( 2 4 ) ( 2 5 ) (26) (27) ( 2 8 ) ( 2 9 ) ( 3 0 ) (31) ( 3 2 ) ( 3 3 ) ( 3 4 ) (35) ( 3 6 ) ( 3 7 ) ( 6 ) u s b / u a r t s t a t u s r e g i s t e r ( 7 ) u s b d a t a t o g g l e s y n c h r o n i z a t i o n r e g i s t e r ( 1 0 ) u s b i n t e r r u p t s o u r c e d i s c r i m i n a t i o n r e g i s t e r 1 ( 1 1 ) usb interrupt source discrimination register 2 ( 1 2 ) usb interrupt control register (13) u s b t r a n s m i t d a t a b y t e n u m b e r s e t r e g i s t e r 0 ( 1 4 ) usb transmit data byte number set register 1 (15) u s b p i d c o n t r o l r e g i s t e r 0 ( 1 6 ) usbpid control register 1 ( 1 7 ) u s b a d d r e s s r e g i s t e r ( 1 8 ) usb sequence bit initialization register (19) u s b c o n t r o l r e g i s t e r (20) 0 0 1 a 1 6 0 0 1 b 1 6 02 16 1110 0000 contents of address fffc 16 (pc h ) ( p c l ) ff 16 01 16 00 16 00 16 ff 16 ff 16 00 16 00 16 10 16 00 16 0 0 2 8 1 6 0029 16 0 0 2 a 1 6 0 0 2 b 1 6 002c 16 0 0 2 d 1 6 0 0 2 e 1 6 0030 16 0 0 3 4 1 6 0 0 3 8 1 6 0039 16 0 0 3 a 1 6 0 0 3 b 1 6 0 0 3 c 1 6 0 0 3 e 1 6 ( p s ) n o t e x : u n d e f i n e d c o n t e n t s o f a d d r e s s f f f d 1 6 0011 1111 00 16 00 16 00 16 1000 0000 x x x x x1xx p o r t p 0 d i r e c t i o n r e g i s t e r p o r t p 1 d i r e c t i o n r e g i s t e r p o r t p 2 d i r e c t i o n r e g i s t e r p o r t p 3 d i r e c t i o n r e g i s t e r p o r t p 4 d i r e c t i o n r e g i s t e r ( 1 ) ( 2 ) ( 3 ) (4) ( 5 ) r e g i s t e r c o n t e n t s 00 16 00 16 0 0 0 1 1 6 0 0 0 3 1 6 0 0 0 5 1 6 0007 16 0 0 0 9 1 6 x 0 0000 a d d r e s s 0 0 1 9 1 6 1000 0001 0 0 1 d 1 6 0111 1111 0 0 1 e 1 6 0111 1111 0 0 1 f 1 6 0111 0011 0 0 2 0 1 6 0000 0111 0 0 2 1 1 6 0022 16 0 0 2 3 1 6 0000 0111 0 0 2 4 1 6 0011 1111 0025 16 1000 0000 0 0 2 6 1 6 1111 1111 0027 16 0011 1111 00 16 00 16 p u l l - u p c o n t r o l r e g i s t e r ff 16 0 0 1 6 1 6 x x x 00 x x x 00 16 00
7534 group rev.2.00 jun 21, 2004 page 36 of 54 rej03b0099-0200z fig. 43 external circuit of ceramic resonator fig. 44 external clock input circuit fig. 45 structure of misrg clock generating circuit an oscillation circuit can be formed by connecting a resonator be- tween x in and x out . use the circuit constants in accordance with the resonator manufacturer's recommended values. no external resistor is needed between x in and x out since a feed-back resistor exists on-chip. oscillation control ? stop mode when the stp instruction is executed, the internal clock stops at an h level and the x in oscillator stops. at this time, timer 1 is set to 01 16 and prescaler 12 is set to ff 16 when the oscillation stabilization time set bit after release of the stp instruction is 0. on the other hand, timer 1 and prescaler 12 are not set when the above bit is 1. accordingly, set the wait time fit for the oscillation stabilization time of the oscillator to be used. f(x in )/16 is forcibly connected to the input of prescaler 12. when an external interrupt is accepted, oscillation is restarted but the internal clock remains at h until timer 1 underflows. as soon as timer 1 underflows, the internal clock is supplied. this is because when a ceramic oscillator is used, some time is required until a start of oscillation. in case oscillation is restarted by reset, no wait time is generated. ______ so apply an l level to the reset pin while oscillation becomes stable. ? wait mode if the wit instruction is executed, the internal clock stops at an h level, but the oscillator does not stop. the internal clock restarts if a reset occurs or when an interrupt is received. since the oscillator does not stop, normal operation can be started immediately after the clock is restarted. to ensure that interrupts will be received to release the stp or wit state, interrupt enable bits must be set to 1 before the stp or wit instruction is executed. when the stp status is released, prescaler 12 and timer 1 will start counting clock which is x in divided by 16, so set the timer 1 inter- rupt enable bit to 0 before the stp instruction is executed. note for use with the oscillation stabilization set bit after release of the stp instruction set to 1, set values in timer 1 and prescaler 12 after fully appreciating the oscillation stabilization time of the oscillator to be used. ? clock mode operation is started by an on-chip oscillator after releasing reset. a division ratio (1/1,1/2,1/8) is selected by setting bits 7 and 6 of the cpu mode register after releasing it. x in c out c in x out x in x out external oscillation circuit v cc v ss open misrg(address 0038 16 ) b7 b0 oscillation stabilization time set bit after release of the stp instruction 0: set 01 16 in timer1, and ff 16 in prescaler 12 automatically 1: not set automatically reserved bits (return 0 when read) (do not write 1 to these bits) not used (return 0 when read)
7534 group rev.2.00 jun 21, 2004 page 37 of 54 rej03b0099-0200z fig. 46 block diagram of system clock generating circuit (for ceramic resonator) s r q s r q 1/2 r d r s q r f 1/4 1/2 w i t i n s t r u c t i o n s t p i n s t r u c t i o n t i m i n g ( i n t e r n a l c l o c k ) s t p i n s t r u c t i o n interrupt request r e s e t interrupt disable flag l high-speed mode m i d d l e - s p e e d m o d e p r e s c a l e r 1 2 t i m e r 1 cl o c k d i v i s i o n r a t i o s e l e c t i o n b i t d o u b l e - s p e e d m o d e on-chip oscillator mode o n - c h i p o s c i l l a t o r ( n o t e ) note: on-chip oscillator is used only for starting. x o u t x i n 1 / 8 middle-speed, high-speed, double -speed mode cl o c k d i v i s i o n r a t i o s e l e c t i o n b i t o n - c h i p o s c i l l a t o r m o d e
7534 group rev.2.00 jun 21, 2004 page 38 of 54 rej03b0099-0200z notes on programming processor status register the contents of the processor status register (ps) after reset are undefined except for the interrupt disable flag i which is 1. after reset, initialize flags which affect program execution. in particular, it is essential to initialize the t flag and the d flag because of their effect on calculations. interrupts the contents of the interrupt request bit do not change even if the bbc or bbs instruction is executed immediately after they are changed by program because this instruction is executed for the pre- vious contents. for executing the instruction for the changed con- tents, execute one instruction before executing the bbc or bbs in- struction. decimal calculations ? for calculations in decimal notation, set the decimal mode flag d to 1, then execute the adc instruction or sbc instruction. in this case, execute sec instruction, clc instruction or cld instruction after executing one instruction before the adc instruction or sbc instruction. ? in the decimal mode, the values of the n (negative), v (overflow) and z (zero) flags are invalid. timers ? when n (0 to 255) is written to a timer latch, the frequency division ratio is 1/(n+1). ? when a count source of timer x is switched, stop a count of timer x. ports ? the values of the port direction registers cannot be read. that is, it is impossible to use the lda instruction, memory opera- tion instruction when the t flag is 1, addressing mode using di- rection register values as qualifiers, and bit test instructions such as bbc and bbs. it is also impossible to use bit operation instructions such as clb and seb and read/modify/write instructions of direction registers for calculations such as ror. for setting direction registers, use the ldm instruction, sta in- struction, etc. ? as for the 36-pin version, set "1" to each bit 6 of the port p3 direc- tion register and the port p3 register. ? as for the 32-pin version, set 1 to respective bits 5, 6, 7 of the port p3 direction register and port p3 register. a/d converter the comparator uses internal capacitors whose charge will be lost if the clock frequency is too low. make sure that f(x in ) is 500khz or more during a/d conversion. do not execute the stp instruction during a/d conversion. instruction execution timing the instruction execution time can be obtained by multiplying the frequency of the internal clock by the number of cycles mentioned in the machine-language instruction table. the frequency of the internal clock f is the same as that of the xin in double-speed mode, twice the xin cycle in high-speed mode and 8 times the x in cycle in middle-speed mode. note on stack page when 1 page is used as stack area by the stack page selection bit, the area which can be used as stack depends on ram size. espe- cially, be careful that the ram area varies in mask rom version, one time prom version and emulator mcu. notes on use handling of power source pin in order to avoid a latch-up occurrence, connect a capacitor suitable for high frequencies as bypass capacitor between power source pin (vcc pin) and gnd pin (vss pin). besides, connect the capacitor to as close as possible. for bypass capacitor which should not be lo- cated too far from the pins to be connected, an electrolytic or a ce- ramic capacitor of 1.0 f is recommended. handling of usbv refout pin in order to prevent the instability of the usbv refout output due to external noise, connect a capacitor as bypass capacitor between usbv refout pin and gnd pin (v ss pin). besides, connect the ca- pacitor to as close as possible. for bypass capacitor, a ceramic or electrolytic capacitor of 0.22 f is recommended. one time prom version the cnvss pin is connected to the internal memory circuit block by a low-ohmic resistance, since it has the multiplexed function to be a programmable power source pin (v pp pin) as well. to improve the noise reduction, connect a track between cnvss pin and vss pin with 1 to 10 k ? resistance. the mask rom version track of cnvss pin has no operational inter- ference even if it is connected via a resistor. electric characteristic differences among mask rom and one time prom version mcus there are differences in electric characteristics, operation margin, noise immunity, and noise radiation among mask rom and one time prom version mcus due to the differences in the manufac- turing processes. when manufacturing an application system with one time prom version and then switching to use of the mask rom version, per- form sufficient evaluations for the commercial samples of the mask rom version.
7534 group rev.2.00 jun 21, 2004 page 39 of 54 rej03b0099-0200z note on power source voltage when the power source voltage value of a microcomputer is less than the value which is indicated as the recommended operating conditions, the microcomputer does not operate normally and may perform unstable operation. in a system where the power source voltage drops slowly when the power source voltage drops or the power supply is turned off, reset a microcomputer when the supply voltage is less than the recommended operating conditions and design a system not to cause errors to the system by this unstable operation. data required for mask orders the following are necessary when ordering a mask rom produc- tion: (1) mask rom order confirmation form (2) mark specification form (3) data to be written to rom, in eprom form ................................... (three identical copies) or one floppy disk * for the mask rom confirmation and the mark specifications, refer to the "renesas technology corp." homepage (http://www.renesas.com/en/rom). rom programming method the built-in prom of the blank one time prom version can be read or programmed with a general-purpose prom programmer us- ing a special programming adapter. set the address of prom pro- grammer in the user rom area. the prom of the blank one time prom version is not tested or screened in the assembly process and following processes. to en- sure proper operation after programming, the procedure shown in figure 47 is recommended to verify programming. fig. 47 programming and testing of one time prom version programming with prom programmer screening (caution) (150 c for 40 hours) verification with prom programmer functional check in target device the screening temperature is far higher than the storage temperature. never expose to 150 c exceeding 100 hours. caution: package 32p6u-a 36p2r-a 42p4b name of programming adapter pca7435gpg03 pca7435fp, pca7435fpg02 pca7435sp, pca7435spg02 table 6 special programming adapter
7534 group rev.2.00 jun 21, 2004 page 40 of 54 rej03b0099-0200z electrical characteristics absolute maximum ratings table 7 absolute maximum ratings C0.3 to 7.0 C0.3 to v cc + 0.3 C0.3 to v cc + 0.3 C0.3 to 13 C0.3 to v cc + 0.3 1000 (note 3) C20 to 85 C40 to 125 power source voltage input voltagep0 0 Cp0 7 , p1 0 Cp1 6 , p2 0 Cp2 7 , p3 0 C p3 7 , v ref , p4 0 , p4 1 input voltagereset, x in input voltagecnv ss (note 1) output voltagep0 0 Cp0 7 , p1 0 Cp1 6 , p2 0 Cp2 7 , p3 0 C p3 7 , x out , usbv refout , p4 0 , p4 1 power dissipation (note 2) operating temperature storage temperature v v v v v mw c c v cc v i v i v i v o p d t opr t stg conditions symbol ratings unit parameter all voltages are based on v ss . output transistors are cut off. ta = 25c notes 1: it is a rating only for the one time prom version. connect to v ss for mask rom version. 2: the rating value depends on packages. 3: this is the value for 42-pin version. the value of the 36-pin version is 300 mw. the value of the 32-pin version is 200 mw.
7534 group rev.2.00 jun 21, 2004 page 41 of 54 rej03b0099-0200z recommended operating conditions table 8 recommended operating conditions (v cc = 4.1 to 5.5 v, ta = C20 to 85 c, unless otherwise noted) symbol parameter unit power source voltage limits f(x in ) = 6 mhz v cc v ss v ref v ih v ih v ih v ih v il v il v il v il v il i oh(peak) i ol(peak) i ol(peak) i oh(avg) i ol(avg) i ol(avg) i oh(peak) i ol(peak) i ol(peak) i oh(avg) i ol(avg) i ol(avg) f(x in ) v v v v v v v v v v v v ma ma ma ma ma ma ma ma ma ma ma ma mhz note 1: the total output current is the sum of all the currents flowing through all the applicable ports. the total average current is an average value measured over 100 ms. the total peak current is the peak value of all the currents. 2: the peak output current is the peak current flowing in each port. 3: the average output current i ol (avg), i oh (avg) in an average value measured over 100 ms. 4: when the oscillation frequency has a duty cycle of 50 %. 5.5 v cc v cc v cc v cc 3.6 0.3 v cc 0.8 0.2 v cc 0.8 0.16v cc C80 80 60 C40 40 30 C10 10 30 C5 5 15 6 max. power source voltage analog reference voltage h input voltagep0 0 Cp0 7 , p1 0 Cp1 6 , p2 0 Cp2 7 , p3 0 Cp3 7 , p4 0 , p4 1 h input voltage (ttl input level selected) p1 0 , p1 2 , p1 3 , p3 6 , p3 7 h input voltagereset, x in h input voltaged+, d- l input voltagep0 0 Cp0 7 , p1 0 Cp1 6 , p2 0 Cp2 7 , p3 0 Cp3 7 , p4 0 , p4 1 l input voltage (ttl input level selected) p1 0 , p1 2 , p1 3 , p3 6 , p3 7 l input voltagereset, cnv ss l input voltaged+, d- l input voltagex in h total peak output current (note 1) p0 0 Cp0 7 , p1 0 Cp1 6 , p2 0 Cp2 7 , p3 0 Cp3 7 , p4 0 , p4 1 l total peak output current (note 1) p0 0 Cp0 7 , p1 0 Cp1 6 , p2 0 Cp2 7 , p3 7 , p4 0 , p4 1 l total peak output current (note 1) p3 0 Cp3 6 h total average output current (note 1) p0 0 Cp0 7 , p1 0 Cp1 6 , p2 0 Cp2 7 , p3 0 Cp3 7 , p4 0 , p4 1 l total average output current (note 1) p0 0 Cp0 7 , p1 0 Cp1 6 , p2 0 Cp2 7 , p3 7 , p4 0 , p4 1 l total average output current (note 1) p3 0 Cp3 6 h peak output current (note 2) p0 0 Cp0 7 , p1 0 Cp1 6 , p2 0 Cp2 7 , p3 0 Cp3 7 , p4 0 , p4 1 l peak output current (note 2) p0 0 Cp0 7 , p1 0 Cp1 6 , p2 0 Cp2 7 , p3 7 , p4 0 , p4 1 l peak output current (note 2) p3 0 Cp3 6 h average output current (note 3) p0 0 Cp0 7 , p1 0 Cp1 6 , p2 0 Cp2 7 , p3 0 Cp3 7 , p4 0 , p4 1 l average output current (note 3) p0 0 Cp0 7 , p1 0 Cp1 6 , p2 0 Cp2 7 , p3 7 , p4 0 , p4 1 l average output current (note 3) p3 0 Cp3 6 oscillation frequency (note 4) v cc = 4.1 to 5.5 v at ceramic oscillation or external clock input double-speed mode typ. 5.0 0 4.1 2.0 0.8 v cc 2.0 0.8 v cc 2.0 0 0 0 0 0 min.
7534 group rev.2.00 jun 21, 2004 page 42 of 54 rej03b0099-0200z electrical characteristics table 9 electrical characteristics (1) (v cc = 4.1 to 5.5 v, v ss = 0 v, ta = C20 to 85 c, unless otherwise noted) min. typ. max. symbol parameter limits i oh = C5 ma v cc = 4.1 to 5.5 v i oh = C1.0 ma v cc = 4.1 to 5.5 v v cc = 4.4 to 5.25 v pull-down through 15k ? 5 % for d+, d- pull-up through 1.5k ? 5 % by usbv refout for d- (ta = 0 to 70 c) i ol = 5 ma v cc = 4.1 to 5.5 v i ol = 1.5 ma v cc = 4.1 to 5.5 v v cc = 4.4 to 5.25 v pull-down through 15k ? 5 % for d+, d- pull-up through 1.5k ? 5 % by usbv refout for d-(ta = 0 to 70 c) i ol = 15 ma v cc = 4.1 to 5.5 v i ol = 1.5 ma v cc = 4.1 to 5.5 v v i = v cc (pin floating. pull-up transistors off) v i = v cc v i = v cc v i = v ss (pin floating. pull-up transistors off) v i = v ss v i = v ss v i = v ss (pull-up transistorson) test conditions v cc C1.5 v cc C1.0 2.8 h output voltagep0 0 Cp0 7 , p1 0 Cp1 6 , p2 0 Cp2 7 , p3 0 Cp3 7 , p4 0 , p4 1 (note 1) h output voltaged+, d- l output voltagep0 0 Cp0 7 , p1 0 Cp1 6 , p2 0 Cp2 7 , p3 7 , p4 0 , p4 1 l output voltaged+, d- l output voltagep3 0 Cp3 6 hysteresis d+, d- hysteresis cntr 0 , int 0 , int 1 (note 2), p0 0 Cp0 7 (note 3) hysteresis r x d, s clk , s data (note 2) hysteresis reset h input current p0 0 Cp0 7 , p1 0 Cp1 6 , p2 0 Cp2 7 , p3 0 Cp3 7 , p4 0 , p4 1 h input current reset h input current x in l input current p0 0 Cp0 7 , p1 0 Cp1 6 , p2 0 Cp2 7 , p3 0 Cp3 7 , p4 0 , p4 1 l input current reset, cnv ss l input current x in l input current p0 0 Cp0 7 , p3 0 Cp3 7 ram hold voltage v v v oh v oh 3.6 v v ol 0.3 1.5 v v 0.3 v 2.0 0.3 v v v ol v ol v t+ Cv tC v t+ Cv tC v t+ Cv tC i ih i ih i il i ih i il i il i il v ram when clock stopped 0.5 0.5 0.4 v v v 4 C4 C0.2 5.0 5.0 C5.0 C5.0 C0.5 a a a a a a ma 2.0 5.5 v note 1: p1 1 is measured when the p-channel output disable bit of the uart control register (bit 4 of address 001b 16 ) is 0. 2: r x d, s clk , s data , int 0 and int 1 have hystereses only when bits 0, 1 and 2 of the port p1p3 control register are set to 0 (cmos level). 3: it is available only when operating key-on wake-up. unit v t+ Cv tC 0.15 v
7534 group rev.2.00 jun 21, 2004 page 43 of 54 rej03b0099-0200z resolution linearity error differential nonlinear error zero transition voltage full scale transition voltage conversion time ladder resistor reference power source input current a/d port input current min. typ. max. symbol parameter limits unit test conditions v cc = 4.1 to 5.5 v ta = 25 c v cc = 4.1 to 5.5 v ta = 25 c 0520 lsb lsb bits 0.9 3 10 a/d converter characteristics table 11 a/d converter characteristics (1) (v cc = 4.1 to 5.5 v, v ss = 0 v, ta = C20 to 85 c, unless otherwise noted) mv 5105 50 30 5115 5125 mv v ot v fst t conv r ladder i vref i i(ad) v ref = 5.0 v 122 200 55 150 tc(x in ) k ? 5.0 a a v ref = 3.0 v 120 70 v cc = v ref = 5.12 v v cc = v ref = 5.12 v fig. 48 power source current measurement circuit in usb mode at oscillation stop v cc i cc v cc v ss usbv refout d- 1.5 k ? 15 k ? i out i out is included to this ratings. table 10 electrical characteristics (2) (v cc = 4.1 to 5.5 v, v ss = 0 v, ta = C20 to 85 c, unless otherwise noted) i cc power source current 6 1.6 0.8 0.1 10 ma ma ma double-speed mode, f(x in ) = 6 mhz, output transistors off f(x in ) = 6 mhz, (in wit state) output transistors off increment when a/d conversion is executed f(x in ) = 6 mhz, v cc = 5 v all oscillation stopped (in stp state) output transistors off v cc = 4.4 v to 5.25 v oscillation stopped in usb mode usb (suspend), (pull-up resistor output included) (fig. 48) ta = 25 c ta = 85 c 1.0 10 a a ta = 0 to 70 c 300 a min. typ. max. symbol parameter limits test conditions unit 3.2
7534 group rev.2.00 jun 21, 2004 page 44 of 54 rej03b0099-0200z timing requirements table 12 timing requirements (v cc = 4.1 to 5.5 v, v ss = 0 v, ta = C20 to 85 c, unless otherwise noted) min. typ. max. symbol parameter limits unit t w (reset) t c (x in ) t wh (x in ) t wl (x in ) t c (cntr) t wh (cntr) t wl (cntr) t c (s clk ) t wh (s clk ) t wl (s clk ) t su (s data Cs clk ) t h (s clk Cs data ) reset input l pulse width external clock input cycle time external clock input h pulse width external clock input l pulse width cntr 0 input cycle time cntr 0 , int 0 , int 1 input h pulse width cntr 0 , int 0 , int 1 input l pulse width serial i/o2 clock input cycle time serial i/o2 clock input h pulse width serial i/o2 clock input l pulse width serial i/o2 input set up time serial i/o2 input hold time 15 166 70 70 200 80 80 1000 400 400 200 200 s ns ns ns ns ns ns ns ns ns ns ns switching characteristics table 13 switching characteristics (v cc = 4.1 to 5.5 v, v ss = 0 v, ta = C20 to 85 c, unless otherwise noted) min. typ. max. symbol parameter limits unit t wh (s clk ) t wl (s clk ) t d (s clk Cs data ) t v (s clk Cs data ) t r (s clk ) t f (s clk ) t r (cmos) t f (cmos) t r (d+), t r (d-) t f (d+), t f (d-) serial i/o2 clock output h pulse width serial i/o2 clock output l pulse width serial i/o2 output delay time serial i/o2 output valid time serial i/o2 clock output rising time serial i/o2 clock output falling time cmos output rising time (note) cmos output falling time (note) usb output rising time, c l = 200 to 450 pf, ta = 0 to 70 c, v cc = 4.4 to 5.25 v usb output falling time, c l = 200 to 450 pf, ta = 0 to 70 c, v cc = 4.4 to 5.25 v 10 10 150 150 75 75 notes: x out pin is excluded. fig. 49 output switching characteristics measurement circuit 100 pf measured output pin cmos output t c (s clk )/2C30 t c (s clk )/2C30 0 ns ns ns ns ns ns ns ns ns ns 140 30 30 30 30 300 300
7534 group rev.2.00 jun 21, 2004 page 45 of 54 rej03b0099-0200z fig. 50 timing chart 0.2v cc t d (s clk -s data ) t f 0.2v cc 0.8v cc 0.8v cc t r t su (s data -s clk )t h (s clk -s data ) t v (s clk -s data ) t c (s clk ) t wl (s clk ) t wh (s clk ) s data (at receive) s clk 0.2v cc t wl (x in ) 0.8v cc t wh (x in ) t c (x in ) x in 0.2v cc 0.8v cc t w (reset) reset 0.2v cc t wl (cntr) 0.8v cc t wh (cntr) t c (cntr) 0.2v cc t wl (int) 0.8v cc t wh (int) s data (at transmit) int 0 /int 1 cntr 0 0.1v0h d+, d- t f 0.9v0h t r
7534 group rev.2.00 jun 21, 2004 page 46 of 54 rej03b0099-0200z differences among 32-pin, 36-pin and 42-pin the 7534 group has three package types, and each of the number of i/o ports are different. accordingly, when the pins which have the function except a port function are eliminated, be careful that the functions are also eliminated. table 15 differences among 32-pin, 36-pin and 42-pin i/o port port p1 port p2 port p3 port p4 42-pin sdip p1 0 Cp1 6 (7-bit structure) p2 0 Cp2 7 (8-bit structure) (a/d converter 8-channel) p3 0 Cp3 7 (8-bit structure) (int 0 , int 1 available) p4 0 , p4 1 (2-bit structure) 36-pin ssop p1 0 Cp1 4 (5-bit structure) p2 0 Cp2 7 (8-bit structure) (a/d converter 8-channel) p3 0 Cp3 5 , p3 7 (7-bit structure) (int 0 available) no port 32-pin lqfp p1 0 Cp1 4 (5-bit structure) p2 0 Cp2 5 (6-bit structure) (a/d converter 6-channel) p3 0 Cp3 4 (5-bit structure) (int function not available) no port description of improved usb function for 7534 group table 14 description of improved usb function for 7534 group no. 1 2 3 4 5 parameter response at control transfer d+/d- transceiver circuit power dissipation at suspend stall in status stage 6-bit decode of sync field 7532/7536 group not deal with the host which performs the control transfer in parallel to plural device. usb function can be used only at the condition of c l = 150 pf to 350 pf. rating is max. 300 a not including the output cur- rent of usbv refout . ack is returned once to out (data0) to be valid in status stage. sync is detected only when 8-bit full code (80 16 ) is complete. 7534 group connectable to the host which performs the con- trol transfer in parallel to plural device. deal with the the following usb spefification rev. 1.1. c l = 200 pf to 450 pf, trise and tfall: 75 ns to 300 ns, tr/tf: 80 % to 125 %, cross over voltage: 1.3 v to 2.0 v. rating is max. 300 a including the output current of usbv refout , by low-power dissipation of d+/ d- input circuit and 3.3 v-regulator. stall is set automaticcally by hardware when out (data0) is received in status stage. sync is detected only the low-order 6 bits even if the high-order 2 bits are corrupted.
7534 group rev.2.00 jun 21, 2004 page 47 of 54 rej03b0099-0200z table 16 differences among 32-pin, 36-pin and 42-pin (sfr) 42-pin sdip bit 7 not available all bits available all bits available bits 2 to 7 not available bit 6 definition: p3 5 , p3 6 pull-up control bit 7 definition: p3 7 pull-up control bit 0 definition: p3 7 /int 0 input level selection bit 1 definition: p3 6 /int 1 input level selection bits 0 to 2 input pins selected by setting these bits to 000 to 111 bit 0 definition int 0 interrupt edge selection bit 1 definition int 1 interrupt edge selection bit 4 definition serial i/o1, int 1 interrupt selection bit 1 definition uart transmission, usb (except in), int 1 bit 2 definition int 0 bit 1 definition uart transmission, usb (except in), int 1 bit 2 definition int 0 36-pin ssop bits 5 to 7 not available all bits available bit 6 not available all bits not available bit 6 definition: p3 5 pull-up control bit 7 definition: p3 7 pull-up control bit 0 definition: p3 7 /int 0 input level selection bit 1 not available bits 0 to 2 input pins selected by setting these bits to 000 to 111 bit 0 definition int 0 interrupt edge selection bits 1 and 4 not available bit 1 definition uart transmission, usb (except in) bit 2 definition int 0 bit 1 definition uart transmission, usb (except in) bit 2 definition int 0 32-pin lqfp bits 5 to 7 not available bits 6 and 7 not available bits 5 to 7 not available all bits not available bits 6 and 7 not available bits 0 and 1 not available bits 0 to 2 input pins selected by setting these bits to 000 to 101 bits 0, 1 and 4 not available bit 1 definition uart transmission, usb (except in) bit 2 not available bit 1 definition uart transmission, usb (except in) bit 2 not available additionally, there are differences of sfr usage and functional defi- nitions. register (address) port p1/direction (02 16 /03 16 ) port p2/direction (04 16 /05 16 ) port p3/direction (06 16 /07 16 ) port p4/direction (08 16 /09 16 ) pull-up control (16 16 ) port p1p3 control (17 16 ) a/dcontrol (34 16 ) interrupt edge selection (3a 16 ) interrupt request (3c 16 ) interrupt control (3e 16 )
7534 group rev.2.00 jun 21, 2004 page 48 of 54 rej03b0099-0200z fig. 51 handling of v cc , usbv refout pins of m37534m4-xxxfp, m37534e8fp description supplement for use of usb function stably outline 36p2r-a 10 1 2 3 4 6 7 8 9 11 12 14 15 16 5 13 17 18 36 35 34 33 31 30 26 25 24 23 22 21 20 19 32 27 29 28 p0 0 cnv ss x out x in v ss p0 1 p0 2 p0 3 p0 4 p3 0 (led 0 ) vcc v ref p0 5 p1 0 /r x d/d- p2 6 /an 6 p2 7 /an 7 p1 1 /t x d/d+ p1 2 /s clk p1 3 /s data p2 3 /an 3 p2 2 /an 2 p2 1 /an 1 p2 0 /an 0 p3 1 (led 1 ) p3 7 /int 0 p2 4 /an 4 p2 5 /an 5 p0 6 p0 7 usbv refout reset m37534m4-xxxfp m37534e8fp p1 4 /cntr 0 p3 5 (led 5 ) p3 4 (led 4 ) p3 3 (led 3 ) p3 2 (led 2 ) 1.5k ? reason of ? is to reduce the effect by switcing noise of microcomputer to the analog circuit generating usbv refout output. use the bigger capacitor and connect to device at the shortest distance. reason of ? is to prevent the instability of the usbv refout output due to external noise. connect a capacitor to a device as close as possible. for the capacitor, a ceramic capacitor or an electrolytic capacitor of 0.22 f is recommended. ? connect a bypass capacitor to a device as close as possible. for the capacitor, a ceramic capacitor or an electrolytic capacitor of 1.0 f is recommended. ?
7534 group rev.2.00 jun 21, 2004 page 49 of 54 rej03b0099-0200z fig. 52 handling of v cc , usbv refout pins of m37534m4-xxxgp outline 32p6u-a p0 7 p1 0 /r x d/d- p1 1 /t x d/d+ p1 2 /s clk p1 3 /s data p1 4 /cntr 0 p2 0 / an 0 p2 1 / an 1 32 31 30 29 28 27 26 25 p3 4 (led 4 ) p3 3 (led 3 ) p3 2 (led 2 ) p3 1 (led 1 ) p3 0 (led 0 ) v ss x out x in 9 10 11 12 13 14 15 16 2 8 7 6 5 3 1 4 v cc cnv ss reset p2 2 /an 2 p0 5 20 17 18 19 21 24 p0 2 p0 4 p0 3 p0 6 23 22 p0 1 p0 0 usbv refout m37534m4-xxxgp p2 3 /an 3 p2 4 /an 4 p2 5 /an 5 v ref 1.5k ? reason of ? is to reduce the effect by switcing noise of microcomputer to the analog circuit generating usbv refout output. use the bigger capacitor and connect to device at the shortest distance. reason of ? is to prevent the instability of the usbv refout output due to external noise. ? ? connect a capacitor to a device as close as possible. for the capacitor, a ceramic capacitor or an electrolytic capacitor of 0.22 f is recommended. connect a bypass capacitor to a device as close as possible. for the capacitor, a ceramic capacitor or an electrolytic capacitor of 1.0 f is recommended.
7534 group rev.2.00 jun 21, 2004 page 50 of 54 rej03b0099-0200z fig. 53 handling of v cc , usbv refout pins of m37534e8sp, m37534m4-xxxsp, m37534rss outline 42p4b 10 1 2 3 4 6 7 8 9 11 12 14 15 16 5 13 17 18 36 35 34 33 31 30 26 25 24 23 22 32 27 29 28 19 20 21 42 41 40 39 37 38 p0 0 cnv ss x out x in v ss p0 1 p0 2 p0 3 p0 4 p3 0 (led 0 ) vcc v ref p0 5 p1 2 /s clk p2 5 /an 5 p2 6 /an 6 p1 3 /s data p1 4 /cntr 0 p2 2 /an 2 nc p2 1 /an 1 p2 0 /an 0 p3 1 (led 1 ) p2 3 /an 3 p2 4 /an 4 p0 6 p0 7 p3 7 /int 0 reset m37534e8sp m37534m4-xxxsp m37534rss p3 5 (led 5 ) p3 4 (led 4 ) p3 3 (led 3 ) p3 2 (led 2 ) usbv refout p1 0 /r x d/d- p1 1 /t x d/d+ p2 7 /an 7 1.5k ? reason of ? is to reduce the effect by switcing noise of microcomputer to the analog circuit generating usbv refout output. use the bigger capacitor and connect to device at the shortest distance. reason of ? is to prevent the instability of the usbv refout output due to external noise. ? ? p1 6 p1 5 p4 0 p4 1 p3 6 (led 6 )/int 1 connect a capacitor to a device as close as possible. for the capacitor, a ceramic capacitor or an electrolytic capacitor of 0.22 f is recommended. connect a bypass capacitor to a device as close as possible. for the capacitor, a ceramic capacitor or an electrolytic capacitor of 1.0 f is recommended.
7534 group rev.2.00 jun 21, 2004 page 51 of 54 rej03b0099-0200z package outline ssop36-p-450-0.80 weight(g) jedec code 0.53 eiaj package code lead material alloy 42 36p2r-a plastic 36pin 450mil ssop symbol min nom max a a 2 b c d e l l 1 y dimension in millimeters h e a 1 i 2 .35 0 .05 0 .13 0 .8 14 .2 8 .63 11 .3 0 .27 1 .0 2 .4 0 .15 0 .0 15 .4 8 .8 0 .93 11 .5 0 .765 1 .43 11 .4 2 .5 0 .2 0 .2 15 .6 8 .23 12 .7 0 .15 0 b 2 ?5 0 0 ?0 e e 1 36 19 18 1 h e e d e y f a a 2 a 1 l 1 l c e b 2 e 1 i 2 recommended mount pad detail f z z 1 detail g z 1 0.7 0.85 z b g recommended lqfp32-p-0707-0.80 weight(g) C jedec code eiaj package code lead material cu alloy 32p6u-a plastic 32pin 7 ? 7mm body lqfp C 0.1 C C C 0.2 C C C C C C C C C symbol min nom max a a 2 b c d e h e l l 1 y b 2 dimension in millimeters h d a 1 C C i 2 1.0 C C m d C C m e 10 0 0.1 1.0 0.7 0.2 0.5 0.3 0.8 6.9 7.0 7.1 6.9 7.0 7.1 8.8 9.0 9.2 8.8 9.0 9.2 0.175 0.125 0.105 0.45 0.37 0.32 1.4 0 1.7 e lp 0.45 C C 0.6 0.5 7.4 7.4 0.25 C 0.75 C x a3 recommended mount pad detail f a e h e h d d 1 8 24 17 25 32 16 9 m d b 2 m e e f e y b x m a 1 a 2 l l 1 lp a3 c i 2 recommended
7534 group rev.2.00 jun 21, 2004 page 52 of 54 rej03b0099-0200z sdip42-p-600-1.78 weight(g) jedec code 4.1 eiaj package code lead material alloy 42/cu alloy 42p4b plastic 42pin 600mil sdip symbol min nom max a a 2 b b 1 b 2 c e d l dimension in millimeters a 1 0.51 3.8 0.35 0.45 0.55 0.9 1.0 1.3 0.63 0.73 1.03 0.22 0.27 0.34 36.5 36.7 36.9 12.85 13.0 13.15 1.778 15.24 3.0 0 15 5.5 e e 1 42 22 21 1 e c e 1 a 2 a 1 b b 1 b 2 e l a seating plane d recommended
keep safety first in your circuit designs! 1. renesas technology corp. puts the maximum effort into making semiconductor products better and more reliable, but there is a lways the possibility that trouble may occur with them. trouble with semiconductors may lead to personal injury, fire or property damage. remember to give due consideration to safety when making your circuit designs, with appropriate measures such as (i) placeme nt of substitutive, auxiliary circuits, (ii) use of nonflammable material or (iii) prevention against any malfunction or mishap. notes regarding these materials 1. these materials are intended as a reference to assist our customers in the selection of the renesas technology corp. product best suited to the customer's application; they do not convey any license under any intellectual property rights, or any other rights, belonging to renesas t echnology corp. or a third party. 2. renesas technology corp. assumes no responsibility for any damage, or infringement of any third-party's rights, originating in the use of any product data, diagrams, charts, programs, algorithms, or circuit application examples contained in these materials. 3. all information contained in these materials, including product data, diagrams, charts, programs and algorithms represents i nformation on products at the time of publication of these materials, and are subject to change by renesas technology corp. without notice due to product improvement s or other reasons. it is therefore recommended that customers contact renesas technology corp. or an authorized renesas technology corp. product distrib utor for the latest product information before purchasing a product listed herein. the information described here may contain technical inaccuracies or typographical errors. renesas technology corp. assumes no responsibility for any damage, liability, or other loss rising from these inaccuracies o r errors. please also pay attention to information published by renesas technology corp. by various means, including the renesas techn ology corp. semiconductor home page (http://www.renesas.com). 4. when using any or all of the information contained in these materials, including product data, diagrams, charts, programs, a nd algorithms, please be sure to evaluate all information as a total system before making a final decision on the applicability of the information and products. renesas technology corp. assumes no responsibility for any damage, liability or other loss resulting from the information contained herein. 5. renesas technology corp. semiconductors are not designed or manufactured for use in a device or system that is used under ci rcumstances in which human life is potentially at stake. please contact renesas technology corp. or an authorized renesas technology corp. product distributor when considering the use of a product contained herein for any specific purposes, such as apparatus or systems for transportation, vehicular, medical, aerosp ace, nuclear, or undersea repeater use. 6. the prior written approval of renesas technology corp. is necessary to reprint or reproduce in whole or in part these materi als. 7. if these products or technologies are subject to the japanese export control restrictions, they must be exported under a lic ense from the japanese government and cannot be imported into a country other than the approved destination. any diversion or reexport contrary to the export control laws and regulations of japan and/or the country of destination is prohibited. 8. please contact renesas technology corp. for further details on these materials or the products contained therein. sales strategic planning div. nippon bldg., 2-6-2, ohte-machi, chiyoda-ku, tokyo 100-0004, japan http://www.renesas.com renesas technology america, inc. 450 holger way, san jose, ca 95134-1368, u.s.a tel: <1> (408) 382-7500 fax: <1> (408) 382-7501 renesas technology europe limited. dukes meadow, millboard road, bourne end, buckinghamshire, sl8 5fh, united kingdom tel: <44> (1628) 585 100, fax: <44> (1628) 585 900 renesas technology europe gmbh dornacher str. 3, d-85622 feldkirchen, germany tel: <49> (89) 380 70 0, fax: <49> (89) 929 30 11 renesas technology hong kong ltd. 7/f., north tower, world finance centre, harbour city, canton road, hong kong tel: <852> 2265-6688, fax: <852> 2375-6836 renesas technology taiwan co., ltd. fl 10, #99, fu-hsing n. rd., taipei, taiwan tel: <886> (2) 2715-2888, fax: <886> (2) 2713-2999 renesas technology (shanghai) co., ltd. 26/f., ruijin building, no.205 maoming road (s), shanghai 200020, china tel: <86> (21) 6472-1001, fax: <86> (21) 6415-2952 renesas technology singapore pte. ltd. 1, harbour front avenue, #06-10, keppel bay tower, singapore 098632 tel: <65> 6213-0200, fax: <65> 6278-8001 renesas sales offices ?2000 , 2004 . re nesas tec hnology corp ., all rights reserved. printed in japan . colophon .1.0
rev. rev. no. date 1.0 first edition 000118 1.1 page 2: package type revised; 32p6b-a 32p6u-a 000614 page 5: package type revised; 32p6b-a 32p6u-a page 8 package type revised; 32p6b-a 32p6u-a page 34: description revised; reset l pulse width 2 s 15 s page 43: table 11 revised; absolute accuracy (excluding quantization error) linearity error page 44: table 12 revised; tw(reset): 2 15 page 48: fig. 51 description ? , ? revised page 49: fig. 52 description ? , ? and package type revised; 32p6b-a 32p6u-a page 50: fig. 53 description ? , ? revised page 51: package outline revised; 32p6b-a 32p6u-a 1.2 page 34: character fonts errors revised 000905 1.3 all pages: the following caution is eliminated; 010915 preliminary notice: this is not a final specification. some parametric limits are subject to change. page 7: table 1 function description of v ss , v cc revised. page 8: fig. 7 m37534e4 added, under development eliminated. table 2 m37534e4gp added. page 9: note on stack page added. page 15: fig. 15 ports p3 6 , p3 7 revised. page 23: description revised; 5 sources 6 sources, setup token receive added. page 29: sec. s page 38: notes on programming note on stack page added. handling of power source pin; 0.1 f 1.0 f, a ceramic capacitor an electrolytic or a ceramic capacitor handling of usbvref out pin; 0.1 f 0.22 f page 39: data required for mask orders revised. table 6 32p6u-a added. name of programming adapter revised. page 40: note 3 revised. page 46: table 14 7532 group 7532/7536 group revision description list 7534 group data sheet (1/2) revision description
(2/2) revision history rev. date description page summary 7534 group data sheet 2.00 jun. 21, 2004 words standardized: on-chip oscillator, a/d converter electric characteristic difference among mask rom and one time prom ver- sion mcus added. note on power source voltage added. data required for mask orders revised. 32p6u-a revised. all pages 38 39 51


▲Up To Search▲   

 
Price & Availability of 7534

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X